{{ $accountLedger['account']->code }} - {{ $accountLedger['account']->name }}
Account Type: {{ ucfirst($accountLedger['account']->account_type ?? 'N/A') }} | Normal Balance: {{ $accountLedger['account']->normal_balance ?? 'N/A' }}| Date | Entry # | Description | Debit (UGX) | Credit (UGX) | Balance (UGX) |
|---|---|---|---|---|---|
| {{ $transaction['date']->format('Y-m-d') }} | {{ $transaction['entry_number'] }} | {{ $transaction['description'] }} | {{ $transaction['debit'] > 0 ? number_format($transaction['debit']) : '-' }} | {{ $transaction['credit'] > 0 ? number_format($transaction['credit']) : '-' }} | {{ number_format($transaction['balance']) }} |
| Closing Balance: | {{ number_format($accountLedger['closing_balance'] > 0 ? $accountLedger['closing_balance'] : 0) }} | {{ number_format($accountLedger['closing_balance'] < 0 ? abs($accountLedger['closing_balance']) : 0) }} | {{ number_format($accountLedger['closing_balance']) }} | ||
No transactions found for the selected period.