Bank Reconciliations by Account
{{-- Year Filter --}}
@if($reconciledMonths->count())
@foreach ($reconciledMonths as $accountId => $months)
@php $account = $months->first(); @endphp
| Month |
Opening Balance |
Closing Balance |
Status |
@foreach ($months as $m)
@php
$monthCarbon = \Carbon\Carbon::createFromFormat('Y-m', $m->month);
$monthYear = $monthCarbon->year;
$monthLabel = $monthCarbon->format('F Y');
@endphp
@if ($monthYear == $selectedYear)
| {{ $monthLabel }} |
{{ number_format($m->opening_balance ?? 0, 0) }} |
{{ number_format($m->system_balance ?? 0, 0) }} |
@if (!empty($m->status))
{{ ucfirst($m->status) }}
@else
N/A
@endif
|
@endif
@endforeach
@endforeach
@else
No reconciled months found.
@endif