@php($money=fn($value)=>$snapshot['currency'].' '.number_format((float)$value*$snapshot['rate'],$snapshot['decimals']))

{{ $snapshot['business'] }}

{{ implode(' | ',array_filter([$snapshot['address'],$snapshot['phone'],$snapshot['email']])) }}

{{ $number }}

{{ $snapshot['branch'] }} · {{ $snapshot['cashier'] }}

From {{ \Carbon\Carbon::parse($snapshot['from'])->format('d/m/Y h:i:s a') }} to {{ \Carbon\Carbon::parse($snapshot['to'])->format('d/m/Y h:i:s a') }}

SummaryAmount
Total Sales{{ $money($snapshot['total_sales']) }}
Payments for This Period’s Sales{{ $money($snapshot['current_collected']) }}
Older Invoice Payments{{ $money($snapshot['older_collected']) }}
Total Collected from Sales / Invoices{{ $money($snapshot['collected']) }}
Unpaid Invoices{{ $money($snapshot['pending']) }}
Expenses{{ $money($snapshot['expenses']??0) }}
@if(count($counts))

Reconciliation

@foreach($counts as $row)@foreach(['opening','receipts','other_in','out','expected','actual','difference','next_opening'] as $field)@endforeach@endforeach
Payment MethodOpeningReceiptsOther InPaid OutExpectedActualDifferenceNext Opening
{{ $row['name'] }}{{ $money($row[$field]) }}
@endif

Older Invoice Payments

@forelse($snapshot['older_payments'] as $payment)@empty@endforelse
DateInvoiceCustomerMethodReferenceReceived ByAmount
{{ $payment['date'] }}{{ $payment['invoice'] }}{{ $payment['customer'] }}{{ $payment['method'] }}{{ $payment['reference'] }}{{ $payment['receiver'] }}{{ $money($payment['amount']) }}
No older invoice payments in this period.