@if ($logo) @endif Cut Off
{{ $tenant }}
{{ $address ?? '-' }}
{{ $phone ?? '-' }}
@foreach($data as $key => $cutoff) @endforeach
No Account Number Account Name Debit Credit
{{ ($key + 1) }} {{ $cutoff->chartOfAccount->number }} {{ $cutoff->chartOfAccount->alias }} {{ number_format($cutoff->debit, 0) }} {{ number_format($cutoff->credit, 0) }}
Total {{ number_format($data->sum(function($row) { return $row->debit; }), 0) }} {{ number_format($data->sum(function($row) { return $row->credit; }), 0) }}