HEAD {{-- resources/views/accounting/reports/trial_balance_pdf.blade.php --}}
| Code | Name | Debit | Credit |
|---|---|---|---|
| {{ $row->code }} | {{ $row->name }} | {{ number_format($row->debit,2) }} | {{ number_format($row->credit,2) }} |
| Code | Account | Debit | Credit |
|---|---|---|---|
| {{ $row['code'] ?? '' }} | {{ $row['account'] ?? '' }} | {{ ($row['debit'] ?? 0) > 0 ? number_format($row['debit'], 2) : '—' }} | {{ ($row['credit'] ?? 0) > 0 ? number_format($row['credit'], 2) : '—' }} |
| Totals | {{ number_format($totalDebit ?? 0, 2) }} | {{ number_format($totalCredit ?? 0, 2) }} | |