✓ Trial Balance is Balanced! Total Debits ({{ number_format($totalDebits) }}) = Total Credits ({{ number_format($totalCredits) }})
@else
⚠ Trial Balance is NOT Balanced! Difference: {{ number_format(abs($totalDebits - $totalCredits)) }}
@endif
Trial Balance
| Account Code | Account Name | Debit (UGX) | Credit (UGX) |
|---|---|---|---|
| {{ $item['code'] }} | {{ $item['name'] }} | {{ $item['debit'] > 0 ? number_format($item['debit']) : '-' }} | {{ $item['credit'] > 0 ? number_format($item['credit']) : '-' }} |
| TOTALS: | {{ number_format($totalDebits) }} | {{ number_format($totalCredits) }} | |