Total Sessions: {{ $sessions->count() }}
Sessions with Discrepancy: {{ $sessions->where('discrepancy', '!=', 0)->count() }}
High Discrepancy (≥ 200)
{{ $sessions->filter(function($s) { return abs($s->discrepancy) >= 200; })->count() }} sessions
Medium Discrepancy (50-199)
{{ $sessions->filter(function($s) { return abs($s->discrepancy) >= 50 && abs($s->discrepancy) < 200; })->count() }} sessions
Low Discrepancy (< 50)
{{ $sessions->filter(function($s) { return abs($s->discrepancy) < 50; })->count() }} sessions
| Date | Cashier | Expected | Counted | Diff | Status | Manager Note |
|---|---|---|---|---|---|---|
| {{ $session->closed_at->timezone(timezone())->format('d M Y') }} | {{ $session->cashier->name ?? 'N/A' }} | {{ currency_format($session->expected_cash, restaurant()->currency_id) }} | {{ currency_format($session->counted_cash, restaurant()->currency_id) }} | {{ $session->discrepancy >= 0 ? '+' : '' }}{{ currency_format($session->discrepancy, restaurant()->currency_id) }} | @lang('app.' . $session->status) | {{ $session->closing_reason ?? '—' }} |
No closed cash register sessions found for the selected criteria.