{{-- Revenue chart + collection health --}}
Paid invoice income vs approved expenses by month
Paid vs open receivables
@if ($collectionTotal > 0) @php $c1 = (int) $collectionCollectedPct; $c2 = (int) $collectionCollectedPct + (int) $collectionPendingPct; @endphp{{ $customer->name }}
{{ $customer->invoice_count }} {{ \Illuminate\Support\Str::plural('invoice', $customer->invoice_count) }}