From {{ \Carbon\Carbon::parse($data['date_from'])->format('M d, Y') }} to {{ \Carbon\Carbon::parse($data['date_to'])->format('M d, Y') }}
| Account | Initial Balance | {{ \Carbon\Carbon::parse($data['date_from'])->format('d M Y') }} - {{ \Carbon\Carbon::parse($data['date_to'])->format('d M Y') }} | End Balance | |||
|---|---|---|---|---|---|---|
| Debit | Credit | Debit | Credit | Debit | Credit | |
| {{ $account->code ? $account->code . ' ' : '' }}{{ $account->name }} | {{ $account->initial_debit > 0 ? number_format($account->initial_debit, 2) : '0.00' }} | {{ $account->initial_credit > 0 ? number_format($account->initial_credit, 2) : '0.00' }} | {{ $account->period_debit > 0 ? number_format($account->period_debit, 2) : '0.00' }} | {{ $account->period_credit > 0 ? number_format($account->period_credit, 2) : '0.00' }} | {{ $account->end_debit > 0 ? number_format($account->end_debit, 2) : '0.00' }} | {{ $account->end_credit > 0 ? number_format($account->end_credit, 2) : '0.00' }} |
| Total | {{ number_format($data['totals']['initial_debit'], 2) }} | {{ number_format($data['totals']['initial_credit'], 2) }} | {{ number_format($data['totals']['period_debit'], 2) }} | {{ number_format($data['totals']['period_credit'], 2) }} | {{ number_format($data['totals']['end_debit'], 2) }} | {{ number_format($data['totals']['end_credit'], 2) }} |