@php $kpis = [ ['label' => 'Total Outstanding', 'value' => '$13,640', 'sub' => '9 open', 'icon' => 'document-currency-dollar', 'accent' => true], ['label' => 'Overdue', 'value' => '$3,210', 'sub' => '2 invoices', 'icon' => 'exclamation-triangle', 'accent' => false], ['label' => 'Paid · MTD', 'value' => '$34,650', 'sub' => 'June 2026', 'icon' => 'check-circle', 'accent' => false], ['label' => 'Drafts', 'value' => '4', 'sub' => 'not yet sent', 'icon' => 'document-text', 'accent' => false], ]; $tabs = ['All' => 24, 'Draft' => 4, 'Sent' => 9, 'Overdue' => 2, 'Paid' => 9]; $rows = [ ['no' => 'INV-2026-0188', 'client' => 'Zimplats Holdings', 'issued' => '2026-06-12', 'due' => '2026-06-26', 'amount' => '$4,200.00', 'balance' => '$0.00', 'status' => 'PAID', 'badge' => 'emerald'], ['no' => 'INV-2026-0187', 'client' => 'Econet Wireless', 'issued' => '2026-06-11', 'due' => '2026-06-25', 'amount' => '$1,850.00', 'balance' => '$925.00', 'status' => 'PARTIAL', 'badge' => 'amber'], ['no' => 'INV-2026-0186', 'client' => 'Delta Beverages', 'issued' => '2026-06-10', 'due' => '2026-06-24', 'amount' => '$2,640.00', 'balance' => '$2,640.00', 'status' => 'SENT', 'badge' => 'sky'], ['no' => 'INV-2026-0185', 'client' => 'Nyaradzo Group', 'issued' => '2026-05-14', 'due' => '2026-05-28', 'amount' => '$980.00', 'balance' => '$980.00', 'status' => 'OVERDUE', 'badge' => 'rose'], ['no' => 'INV-2026-0184', 'client' => 'CBZ Holdings', 'issued' => '2026-06-08', 'due' => '2026-06-22', 'amount' => '$5,120.00', 'balance' => '$0.00', 'status' => 'PAID', 'badge' => 'emerald'], ['no' => 'INV-2026-0183', 'client' => 'OK Zimbabwe', 'issued' => '2026-06-07', 'due' => '2026-06-21', 'amount' => '$1,430.00', 'balance' => '$1,430.00', 'status' => 'SENT', 'badge' => 'sky'], ['no' => 'INV-2026-0182', 'client' => 'Simbisa Brands', 'issued' => '2026-06-05', 'due' => '2026-06-19', 'amount' => '$760.00', 'balance' => '$760.00', 'status' => 'DRAFT', 'badge' => 'slate'], ]; $badges = [ 'emerald' => 'bg-emerald-50 text-emerald-700 ring-emerald-600/20', 'amber' => 'bg-amber-50 text-amber-700 ring-amber-600/20', 'sky' => 'bg-sky-50 text-sky-700 ring-sky-600/20', 'rose' => 'bg-rose-50 text-rose-700 ring-rose-600/20', 'slate' => 'bg-slate-100 text-slate-600 ring-slate-500/20', ]; @endphp {{-- ===== KPI CARDS ===== --}}
@foreach ($kpis as $kpi)
{{ $kpi['label'] }}
{{ $kpi['value'] }}
{{ $kpi['sub'] }}
@endforeach
{{-- ===== TABLE CARD ===== --}}
{{-- Toolbar: tabs + search --}}
@foreach ($tabs as $name => $count) @endforeach
{{-- Table --}}
@foreach ($rows as $row) @endforeach
Invoice Client Issued Due Total Balance Status
{{ $row['no'] }} {{ $row['client'] }} {{ $row['issued'] }} {{ $row['due'] }} {{ $row['amount'] }} {{ $row['balance'] }} {{ $row['status'] }}
{{-- Footer / pagination --}}
Showing 7 of 24