@php $r = $report; $variance = $r['cash_variance']; @endphp Z report {{ $r['report_no'] }} for {{ $r['business']['name'] }}. Cashier: {{ $r['cashier']->name ?? 'Unknown' }} Register #{{ $r['register']->id }}, {{ $r['is_closed'] ? 'closed' : 'still open' }} {{ $r['closed_at']->format('d M Y H:i') }} Sales: {{ $r['sales_count'] }}, total MWK {{ number_format($r['gross_sales'], 2) }} Cash expected: MWK {{ number_format($r['expected_cash'], 2) }} @if($r['counted_cash'] !== null) Cash counted: MWK {{ number_format($r['counted_cash'], 2) }}{{ $variance < 0 ? ', short ' : ($variance > 0 ? ', over ' : ', exact') }}{{ $variance ? 'MWK ' . number_format(abs($variance), 2) : '' }} @endif The full report is attached as a PDF.