TANRAIL ONE DINING
{{ $shift->branch->name }}
STATION CODE: {{ $shift->branch->code }}
SHIFT CLOSURE AUDIT (Z-REPORT)
Shift ID: #{{ $shift->id }}
Cashier: {{ $shift->user->name }}
Opened At: {{ $shift->opened_at->format('d/m/Y H:i:s') }}
Closed At: {{ $shift->closed_at ? $shift->closed_at->format('d/m/Y H:i:s') : 'In Progress' }}
Total Orders Served: {{ $shift->total_orders_count ?? $shift->orders->count() }} Orders
Sales Intake by Tender Type
Cash Sales: TZS {{ number_format($cashSales, 2) }}
Electronic Card Sales: TZS {{ number_format($cardSales, 2) }}
Mobile Money (M-Pesa/Airtel): TZS {{ number_format($mobileSales, 2) }}
Gross Shift Revenue: TZS {{ number_format($shift->total_sales, 2) }}
@if($shift->expenses->count() > 0)
Cash Drawer Expenses (Petty Cash Deducted)
@foreach($shift->expenses as $exp)
{{ $exp->category }} ({{ $exp->paid_to ?? 'Vendor' }}) -TZS {{ number_format($exp->amount, 2) }}
@endforeach
@endif
Physical Cash Drawer Balancing
1. Starting Float: TZS {{ number_format($shift->opening_float, 2) }}
2. Cash Sales Collected: +TZS {{ number_format($cashSales, 2) }}
3. Cash Operating Expenses Paid: -TZS {{ number_format($shift->total_expenses, 2) }}
Expected Cash in Drawer: TZS {{ number_format($shift->expected_cash, 2) }}
Physical Cash Counted by Cashier: TZS {{ number_format($shift->closing_cash_counted, 2) }}
@php $diff = (float) $shift->cash_difference; $varianceClass = abs($diff) < 0.01 ? 'variance-exact' : ($diff > 0 ? 'variance-over' : 'variance-short'); $varianceLabel = abs($diff) < 0.01 ? 'EXACT BALANCED (0.00)' : ($diff > 0 ? '+TZS '.number_format($diff, 2).' (OVERAGE)' : '-TZS '.number_format(abs($diff), 2).' (SHORTAGE)'); @endphp
Audited Drawer Variance: {{ $varianceLabel }}
@if($shift->notes)
Shift Handover Note: {{ $shift->notes }}
@endif
Cashier Signature
{{ $shift->user->name }}
Supervisor / Duty Mgr
Verified & Sealed
Back to Shifts