{{ $transaction->number }}
|
{{ date_format(date_create($transaction->created), 'd M Y H:i:s') }}
|
{{ $transaction->account_name }} |
@php
$thisSearchQuery = $searchQuery . '&category=' . $transaction->category_id;
@endphp
{{ mb_strimwidth(strip_tags($transaction->category_name), 0, 35, '...') }}
@if (!empty($transaction->approval_id))
@endif
|
@if ($transaction->type_id == 1)
Rp{{ number_format($transaction->amount, 0, ',', '.') }}@else{{ '0' }}
@endif
|
@if ($transaction->type_id == 2)
Rp{{ number_format($transaction->amount, 0, ',', '.') }}@else{{ '0' }}
@endif
|
Rp{{ number_format($transaction->deposit, 0, ',', '.') }} |
{!! $transaction->receipt_type_icon !!}
|
@if (empty($transaction->description))
{{ '-' }}
@else
@php
$description = str_replace("\"", "\'\'", $transaction->description);
$description = nl2br($description);
@endphp
{{ mb_strimwidth(strip_tags($transaction->description), 0, 30, '...') }}
@endif
@if (!empty($transaction->receipt_file))
@endif
|
@if (strtotime($transaction->created) > strtotime('-6 hours'))
@endif
|
@empty