Trial Balance
Period: {{ $from ? \Carbon\Carbon::parse($from)->format('d M, Y') : 'All' }} - {{ $to ? \Carbon\Carbon::parse($to)->format('d M, Y') : 'All' }}
Status: {{ strtoupper($status) }}
@if(!$balanced)
Trial Balance NOT Balanced! Debit: {{ number_format($sumDebit,2) }} | Credit: {{ number_format($sumCredit,2) }}
@else
Balanced ✅ Debit = Credit ({{ number_format($sumDebit,2) }})
@endif
@forelse($rows as $r) @empty @endforelse
Code Account Type Debit Credit
{{ $r->account_code }} {{ $r->account_name }} {{ strtoupper($r->account_type) }} {{ number_format((float)$r->debit, 2) }} {{ number_format((float)$r->credit, 2) }}
No data found.
TOTAL {{ number_format((float)$sumDebit, 2) }} {{ number_format((float)$sumCredit, 2) }}