{{-- resources/views/reports/ledger-statements-pdf.blade.php --}}
Financial Year: {{ date('d-M-Y', strtotime($acYear->from_year_month)) }} to {{ date('d-M-Y', strtotime($acYear->to_year_month)) }}
Report Period: {{ date('d-M-Y', strtotime($fromDate)) }} to {{ date('d-M-Y', strtotime($toDate)) }}
Generated: {{ $generatedAt->format('d-M-Y H:i:s') }}
Total Ledgers: {{ $totalLedgers }}
Group: {{ $section['ledger']->group_name ?? 'N/A' }}
| Date | Ref No | Ledger | Description | Debit | Credit | Net | Balance |
|---|---|---|---|---|---|---|---|
| Opening Balance | - | - | - | {{ number_format($section['opening_balance'], 2) }} | |||
| {{ date('d-m-Y', strtotime($txn['date'])) }} | {{ $txn['entry_number'] }} | {{ $txn['contra_ledger_name'] ?? '-' }} | {{ $txn['narration'] ?? '-' }} | @if($txn['debit_amount'] > 0) {{ number_format($txn['debit_amount'], 2) }} @else - @endif | @if($txn['credit_amount'] > 0) {{ number_format($txn['credit_amount'], 2) }} @else - @endif | {{ number_format($txn['net_activity'], 2) }} | {{ number_format($txn['balance'], 2) }} |
| No transactions in this period | |||||||
| TOTAL | {{ number_format($section['total_debit'], 2) }} | {{ number_format($section['total_credit'], 2) }} | - | - | |||
| Closing Balance | - | - | - | {{ number_format($section['closing_balance'], 2) }} | |||