{{ __('Report by Destination') }}
{{ \App\Helpers\Qs::getSchoolName() }}
{{-- Filter Card --}}
Filter Reports
{{-- Stats Card --}}

Total Collected

{{ number_format($totalCollected) }} RWF

{{-- Summary Table Card --}}
Destination Summary
@foreach($destinationSummary as $destination => $total) @endforeach
Destination Total Collected (RWF)
{{ $destination }} {{ number_format($total) }}
{{-- Details Table Card --}}
Payment Details
@foreach($payments as $p) @endforeach
Date Student Class Term Amount (RWF)
{{ $p->payment_date ? $p->payment_date->format('M d, Y') : '-' }} {{ $p->student->name ?? 'N/A' }} {{ $p->student->class ?? 'N/A' }} {{ $p->term }} {{ number_format($p->amount) }}