@php $palette = $themePalette ?? (is_array($theme ?? null) ? $theme : \App\Support\ThemePalette::resolveShades('emerald')); @endphp Unpaid members Report - {{ $schoolClass->name ?? 'All Classes' }} @include('reports.partials.font') @php $resolvedSchoolName = !empty($branding['school_name']) ? $branding['school_name'] : (!empty($tenant?->school_name) ? $tenant->school_name : (!empty($tenant?->name) ? $tenant->name : 'Smart School')); $resolvedAddress = !empty($branding['address']) ? $branding['address'] : (!empty($tenant?->address) ? $tenant->address : 'Institutional Campus Record'); $resolvedPhone = !empty($branding['phone']) ? $branding['phone'] : (!empty($tenant?->phone) ? $tenant->phone : '—'); @endphp
@if(!empty($schoolLogo))
{{ $resolvedSchoolName }}
@endif
{{ $resolvedSchoolName }}
{{ $resolvedAddress }} | Phone: {{ $resolvedPhone }}
Outstanding Unpaid members Summary Report
Filter: Class {{ $schoolClass->name ?? 'All Classes' }} • Generated: {{ now()->format('d M Y, h:i A') }}
{{ $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
@forelse($rows as $idx => $r) @empty @endforelse @if(count($rows) > 0) @endif
# 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