@if($stats['last_visit']) Last visit {{ $stats['last_visit']->diffForHumans() }} ({{ $stats['last_visit']->format('d M Y') }}) @else No visits recorded yet @endif
{{ session('success') }}
Total Visits
{{ $stats['total_visits'] }}
Total Spent
KSh {{ number_format($stats['total_spent'], 0) }}
Avg per Visit
KSh {{ number_format($stats['avg_spend'], 0) }}
Balance Due
KSh {{ number_format($stats['balance_due'], 0) }}
No vehicles added yet
{{ $vehicle->plate_number }}
{{ $vehicle->type ?? 'No type specified' }}
No visits recorded yet
| Date & Time | Services / Items | Total | Paid | Status | |
|---|---|---|---|---|---|
|
{{ $sale->sale_date->format('d M Y') }}
{{ $sale->sale_date->format('H:i') }}
|
{{ $desc }}
{{ $sale->reference_no }}
|
KSh {{ number_format($sale->total, 2) }} | KSh {{ number_format($sale->total_paid, 2) }} | {{ ucfirst($sale->status) }} | View → |
| {{ $stats['total_visits'] }} visits | KSh {{ number_format($stats['total_spent'], 2) }} | KSh {{ number_format($stats['total_paid'], 2) }} | |||