@php $title = __('Super Admin Dashboard'); @endphp

Total Billing

RWF{{ number_format($totalPayments, 2) }}

Total Collected

RWF{{ number_format($totalCollected, 2) }}

Pending Invoices

RWF{{ number_format($totalPending, 2) }}

Schools in Debt

{{ $totalDebtors }}

Revenue Growth (Last 6 Months)
Invoice Status Breakdown
Paid Pending
Top 10 Debtor Schools
@forelse($topDebtors as $debtor) @empty @endforelse
School Active Balance Action
{{ $debtor->school_name ?? $debtor->id }} {{ $debtor->is_active ? 'Yes' : 'No' }} RWF{{ number_format($debtor->balance, 2) }} Details
No debtors found.
Recent Platform Revenue
@forelse($recentPayments as $payment) @empty @endforelse
School Amount Date Status
{{ $payment->school_name }} RWF{{ number_format($payment->amount, 2) }} {{ \Carbon\Carbon::parse($payment->updated_at)->format('M d, Y') }} Paid
No recent revenue recorded.