From {{ \Carbon\Carbon::parse($data['date_from'])->format('M d, Y') }} to {{ \Carbon\Carbon::parse($data['date_to'])->format('M d, Y') }}
| {{ __('accounting::filament/clusters/reporting.common.account') }} | {{ __('accounting::filament/clusters/reporting.common.initial-balance') }} | {{ \Carbon\Carbon::parse($data['date_from'])->format('d M Y') }} - {{ \Carbon\Carbon::parse($data['date_to'])->format('d M Y') }} | {{ __('accounting::filament/clusters/reporting.common.end-balance') }} | |||
|---|---|---|---|---|---|---|
| {{ __('accounting::filament/clusters/reporting.common.debit') }} | {{ __('accounting::filament/clusters/reporting.common.credit') }} | {{ __('accounting::filament/clusters/reporting.common.debit') }} | {{ __('accounting::filament/clusters/reporting.common.credit') }} | {{ __('accounting::filament/clusters/reporting.common.debit') }} | {{ __('accounting::filament/clusters/reporting.common.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' }} |
| {{ __('accounting::filament/clusters/reporting.common.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) }} |