@php $palette = $themePalette ?? (is_array($theme ?? null) ? $theme : \App\Support\ThemePalette::resolveShades('emerald')); @endphp
|
{{ $kpis['total_defaulters'] ?? count($rows) }}
Defaulter Students
|
${{ number_format($kpis['total_due'] ?? 0, 2) }}
Total Outstanding Due
|
${{ number_format($kpis['total_billed'] ?? 0, 2) }}
Total Billed Amount
|
{{ $kpis['recovery_rate'] ?? 0 }}%
Recovery Rate
|
| # | Roll | Student Name | Class & Section | Guardian & Phone | Invoice # | Billed | Paid | Due |
|---|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $r['roll_number'] ?? '—' }} | {{ $r['student_name'] }} | {{ $r['class_name'] }} {{ $r['section_name'] ? "({$r['section_name']})" : '' }} |
{{ $r['guardian_name'] ?? '—' }} {{ $r['guardian_phone'] ?? '—' }} |
{{ $r['invoice_number'] }} | ${{ number_format($r['total_amount'], 2) }} | ${{ number_format($r['paid_amount'], 2) }} | ${{ number_format($r['due_amount'], 2) }} |
| All fees are cleared! No outstanding defaulters found. | ||||||||
| Grand Total Outstanding Balance: | ${{ number_format($kpis['total_billed'] ?? 0, 2) }} | ${{ number_format($kpis['total_paid'] ?? 0, 2) }} | ${{ number_format($kpis['total_due'] ?? 0, 2) }} | |||||
| Accounts Officer | Head of Finance | Headmaster / Principal |