@php($r = $report) {{ $r['business']['name'] }} - Z report {{ $r['report_no'] }}{{ $r['is_closed'] ? '' : ' (preview, register still open)' }} Shift of {{ $r['cashier']->name ?? 'the register' }}, {{ $r['opened_at']?->format('H:i') }}-{{ $r['closed_at']->format('H:i') }} on {{ $r['closed_at']->format('l, d M Y') }}. Total sales: {{ formatCurrency($r['gross_sales']) }} Number of sales: {{ number_format($r['sales_count']) }} @foreach($r['payments'] as $p) {{ $p['label'] }}: {{ formatCurrency($p['amount']) }} @endforeach @if($r['discounts'] > 0) Discounts given: {{ formatCurrency($r['discounts']) }} @endif Expected in drawer: {{ formatCurrency($r['expected_cash']) }} @if($r['counted_cash'] !== null) Counted: {{ formatCurrency($r['counted_cash']) }} Difference: {{ $r['cash_variance'] === null || abs($r['cash_variance']) < 0.01 ? 'Balanced' : ($r['cash_variance'] < 0 ? 'Short ' : 'Over ') . formatCurrency(abs($r['cash_variance'])) }} @endif The full report is attached as a PDF. -- Sent by {{ config('brand.full') }}.