|
Site Name
@if ($sortField === 'site_id')
{{ strtoupper($sortDirection) }}
@endif
|
Vehicle Type
@if ($sortField === 'vehicle_type')
{{ strtoupper($sortDirection) }}
@endif
|
Terminal Exit
@if ($sortField === 'device_id_out')
{{ strtoupper($sortDirection) }}
@endif
|
Transaction Date
@if ($sortField === 'transaction_date_out')
{{ strtoupper($sortDirection) }}
@endif
|
Card No
@if ($sortField === 'card_no')
{{ strtoupper($sortDirection) }}
@endif
|
{{--
Date In
@if ($sortField === 'transaction_date_in')
{{ strtoupper($sortDirection) }}
@endif
| --}}
Date Out
@if ($sortField === 'transaction_date_out')
{{ strtoupper($sortDirection) }}
@endif
|
Card Type
@if ($sortField === 'card_type')
{{ strtoupper($sortDirection) }}
@endif
|
Total Amount (RM)
@if ($sortField === 'amount')
{{ strtoupper($sortDirection) }}
@endif
|
|
|---|---|---|---|---|---|---|---|---|---|
| {{ $t->site->site_name ?? '-' }} | {{ $t->vehicle_type ?? '-' }} | {{ $t->device_id_out }} | {{ $t->transaction_date_out?->format('d/m/Y H:i') }} | {{ $t->card_no ?? '-' }} | {{--{{ $t->transaction_date_in?->format('d/m/Y H:i') }} | --}}{{ $t->transaction_date_out?->format('d/m/Y H:i') }} | @php $cardColors = [ 'TNG' => 'primary', 'Visa' => 'warning', 'MasterCard' => 'danger', 'Setel' => 'success', 'Credit Card' => 'warning', 'E-Wallet' => 'danger', 'Cash' => 'primary', 'Others' => 'primary', ]; @endphp {{ data_get($t, 'card_type') }} | {{ number_format((float) $t->amount, 2) }} | |
| No records found | |||||||||