| # | Name | Phone | Orders | Total Spent (à§³) | Last Order | Joined | |
|---|---|---|---|---|---|---|---|
| {{ $sl++ }} | {{ $customer->name }} | {{ $customer->phone ?? '—' }} | {{ $customer->email ?? '—' }} | {{ $customer->orders->count() }} orders | {{ number_format($totalSpent, 0) }} |
@if($lastOrder)
{{ $lastOrder->created_at->format('d/m/Y') }}
{{ ucfirst($lastOrder->status) }}
@else
—
@endif
|
{{ $customer->created_at->format('d/m/Y') }} |
| No customers found. | |||||||
| Grand Total Spent ({{ $customers->count() }} customers): | à§³{{ number_format($grandTotal, 0) }} | ||||||