Export CSV

Monthly sales

@forelse($months as $month)@empty@endforelse
MonthInvoicesRevenue
{{ $month->month }}{{ $month->invoices }}KES {{ number_format((float)$month->revenue,2) }}
No sales in this period.

Top customers

@forelse($customers as $customer)

{{ $customer->customer?->name }}

{{ $customer->invoices }} invoices

KES {{ number_format((float)$customer->revenue,2) }}

@empty
No customer revenue.
@endforelse