@php $kpis = [ ['label' => 'Revenue · MTD', 'value' => '$48,290', 'sub' => 'June 2026', 'delta' => '+12.4%', 'up' => true, 'icon' => 'banknotes', 'accent' => true], ['label' => 'Outstanding', 'value' => '$13,640', 'sub' => '9 open invoices', 'delta' => '-4.1%', 'up' => false, 'icon' => 'document-currency-dollar', 'accent' => false], ['label' => 'Collected', 'value' => '$34,650', 'sub' => 'this month', 'delta' => '+8.7%', 'up' => true, 'icon' => 'check-circle', 'accent' => false], ['label' => 'Active Jobs', 'value' => '17', 'sub' => '4 due this week', 'delta' => '+3', 'up' => true, 'icon' => 'briefcase', 'accent' => false], ]; $recent = [ ['no' => 'INV-2026-0188', 'client' => 'Zimplats Holdings', 'amount' => '$4,200.00', 'status' => 'PAID', 'badge' => 'emerald', 'date' => '2026-06-12'], ['no' => 'INV-2026-0187', 'client' => 'Econet Wireless', 'amount' => '$1,850.00', 'status' => 'PARTIAL', 'badge' => 'amber', 'date' => '2026-06-11'], ['no' => 'INV-2026-0186', 'client' => 'Delta Beverages', 'amount' => '$2,640.00', 'status' => 'SENT', 'badge' => 'sky', 'date' => '2026-06-10'], ['no' => 'INV-2026-0185', 'client' => 'Nyaradzo Group', 'amount' => '$980.00', 'status' => 'OVERDUE', 'badge' => 'rose', 'date' => '2026-05-28'], ['no' => 'INV-2026-0184', 'client' => 'CBZ Holdings', 'amount' => '$5,120.00', 'status' => 'PAID', 'badge' => 'emerald', 'date' => '2026-06-08'], ]; $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['delta'] }} {{ $kpi['sub'] }}
@endforeach
{{-- ===== CHART + CASH ===== --}}
{{-- Revenue trend (lightweight inline bar "chart") --}}

Revenue trend

Last 8 weeks · collected

USD
@foreach ([42, 55, 38, 61, 48, 72, 66, 84] as $i => $h)
W{{ $i + 1 }}
@endforeach
{{-- Cash position --}}

Cash position

Across treasury accounts

@foreach ([ ['name' => 'USD · Main', 'amount' => '$22,410', 'pct' => 78, 'tone' => 'bg-brand-600'], ['name' => 'ZWG · Operations', 'amount' => 'ZWG 184,200', 'pct' => 46, 'tone' => 'bg-sky-500'], ['name' => 'Marketing Fund', 'amount' => '$2,180', 'pct' => 22, 'tone' => 'bg-amber-500'], ] as $acct)
{{ $acct['name'] }} {{ $acct['amount'] }}
@endforeach
{{-- ===== RECENT INVOICES TABLE ===== --}}

Recent invoices

Latest activity across all clients

View all
@foreach ($recent as $row) @endforeach
Invoice Client Amount Status Date
{{ $row['no'] }} {{ $row['client'] }} {{ $row['amount'] }} {{ $row['status'] }} {{ $row['date'] }}