Report
{{-- Filters --}}
Total : RM {{ number_format($total_amount, 2) }} ({{ !empty($rows) ? $rows->sum('total_count') : 0 }})
{{-- Table --}}
@if ($siteDraft == 1000 || (is_array($siteIds) && count($siteIds) === 1 && $siteIds[0] == 1000)) @else @endif @forelse ($rows as $t) @if ($siteDraft == 1000) @else @endif @empty @endforelse @if (collect($rows)->count() != 0) @if ($siteDraft == 1000 || (is_array($siteIds) && count($siteIds) === 1 && $siteIds[0] == 1000)) @else @endif @endif
Site Name @if ($sortField === 'site_id') {{ strtoupper($sortDirection) }} @endif
Transaction Date @if ($sortField === 'transaction_date_out') {{-- {{ strtoupper($sortDirection) }} --}} @endif
Car @if ($sortField === 'car_count') {{ strtoupper($sortDirection) }} @endif
Motorcycle @if ($sortField === 'motorcycle_count') {{ strtoupper($sortDirection) }} @endif
Cash (RM/Count) @if ($sortField === 'cash_count') {{ strtoupper($sortDirection) }} @endif
Credit Card (RM/Count) @if ($sortField === 'creditcard_count') {{ strtoupper($sortDirection) }} @endif
Ewallet (RM/Count) @if ($sortField === 'ewallet_count') {{ strtoupper($sortDirection) }} @endif
Setel (RM/Count) @if ($sortField === 'setel_count') {{ strtoupper($sortDirection) }} @endif
TNG (RM/Count) @if ($sortField === 'tng_count') {{ strtoupper($sortDirection) }} @endif
Visa (RM/Count) @if ($sortField === 'visa_count') {{ strtoupper($sortDirection) }} @endif
Master (RM/Count) @if ($sortField === 'mastercard_count') {{ strtoupper($sortDirection) }} @endif
Setel (RM/Count) @if ($sortField === 'mastercard_count') {{ strtoupper($sortDirection) }} @endif
Others (RM/Count) @if ($sortField === 'others_count') {{ strtoupper($sortDirection) }} @endif
Total Amount (RM/Count) @if ($sortField === 'others_count') {{ strtoupper($sortDirection) }} @endif
{{ $t->site->site_name ?? '-' }} {{ $t->trx_date }} {{ $t->car_count ?? '-' }} {{ $t->motorcycle_count ?? '-' }}{{ $t->cash_amount }}({{ $t->cash_count }}) {{ $t->creditcard_amount }}({{ $t->creditcard_count }}) {{ $t->ewallet_amount }}({{ $t->ewallet_count }}) {{ $t->setel_amount }}({{ $t->setel_count }}){{ $t->tng_amount }}({{ $t->tng_count }}) {{ $t->visa_amount }}({{ $t->visa_count }}) {{ $t->mastercard_amount }}({{ $t->mastercard_count }}) {{ $t->setel_amount }}({{ $t->setel_count }}) {{ $t->others_amount }}({{ $t->others_count }}) {{ number_format((float) $t->total_amount, 2) }} ({{ $t->total_count }})
No records found
Total {{ $rows->sum('car_count') }} {{ $rows->sum('motorcycle_count') }} {{ number_format((float) $rows->sum('cash_amount'), 2) }} ({{ $rows->sum('cash_count') }}) {{ number_format((float) $rows->sum('creditcard_amount'), 2) }} ({{ $rows->sum('creditcard_count') }}) {{ number_format((float) $rows->sum('ewallet_amount'), 2) }} ({{ $rows->sum('ewallet_count') }}) {{ number_format((float) $rows->sum('setel_amount'), 2) }} ({{ $rows->sum('setel_count') }}) {{ number_format((float) $rows->sum('tng_amount'), 2) }} ({{ $rows->sum('tng_count') }}) {{ number_format((float) $rows->sum('visa_amount'), 2) }} ({{ $rows->sum('visa_count') }}) {{ number_format((float) $rows->sum('mastercard_amount'), 2) }} ({{ $rows->sum('mastercard_count') }}) {{ number_format((float) $rows->sum('setel_amount'), 2) }} ({{ $rows->sum('setel_count') }}) {{ number_format((float) $rows->sum('others_amount'), 2) }} ({{ $rows->sum('others_count') }}) {{ number_format((float) $rows->sum('total_amount'), 2) }} ({{ $rows->sum('total_count') }})
@push('local-js') @endpush