{{ $shop_infos->address ?? '' }}
| # | Date | Invoice No | Description | Sub-Ledger | Debit (Dr) | Credit (Cr) | Balance |
|---|---|---|---|---|---|---|---|
| — | {{ \Carbon\Carbon::parse($startDate)->format('d-m-Y') }} | Opening Balance | — | — | {{ number_format($runningBalance, 2) }} | ||
| {{ $key + 1 }} | {{ \Carbon\Carbon::parse($transaction->date)->format('d-m-Y') }} | {{ $transaction->invoice_no ?? '—' }} | {{ $transaction->description ?? '—' }} | {{ $transaction->subledger->subledger_name ?? '—' }} | {{ $transaction->dr_amount > 0 ? number_format($transaction->dr_amount, 2) : '—' }} | {{ $transaction->cr_amount > 0 ? number_format($transaction->cr_amount, 2) : '—' }} | {{ number_format($runningBalance, 2) }} |
| No transactions found for this period. | |||||||
| Period Total | {{ number_format($total_debit, 2) }} | {{ number_format($total_credit, 2) }} | |||||
| Opening Balance : | {{ number_format($openingBalance, 2) }} | ||||||
| + Total Debit : | {{ number_format($total_debit, 2) }} | ||||||
| − Total Credit : | {{ number_format($total_credit, 2) }} | ||||||
| Closing Balance : | {{ number_format($closingBalance, 2) }} | ||||||