Period: {{ $export_data['period'] }}
Location: {{ $export_data['location'] }}
Generated: {{ date('Y-m-d H:i:s') }}
| Metric | Amount |
|---|---|
| Opening Balance | ${{ $export_data['summary']['opening_balance'] }} |
| Cash Inflows | ${{ $export_data['summary']['cash_inflows'] }} |
| Cash Outflows | ${{ $export_data['summary']['cash_outflows'] }} |
| Net Cash Flow | ${{ $export_data['summary']['net_cash_flow'] }} |
| Closing Balance | ${{ $export_data['summary']['closing_balance'] }} |
| Outstanding Receivables | ${{ $export_data['summary']['total_receivables'] }} |
| Outstanding Payables | ${{ $export_data['summary']['total_payables'] }} |
| Payment Method | Transactions | Total Amount | Inflows | Outflows |
|---|---|---|---|---|
| {{ ucfirst(str_replace('_', ' ', $method['method'])) }} | {{ $method['transaction_count'] }} | ${{ number_format($method['total_amount'], 2) }} | ${{ number_format($method['inflow_amount'], 2) }} | ${{ number_format($method['outflow_amount'], 2) }} |
| Date | Inflows | Outflows | Net Flow | Running Balance |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($day['date'])->format('M d, Y') }} | ${{ number_format($day['cash_inflow'], 2) }} | ${{ number_format($day['cash_outflow'], 2) }} | ${{ number_format($day['net_flow'], 2) }} | ${{ number_format($day['running_balance'], 2) }} |
| Invoice No | Customer | Date | Total | Due Amount | Days Overdue |
|---|---|---|---|---|---|
| {{ $receivable['invoice_no'] }} | {{ $receivable['customer_name'] ?: 'Walk-in Customer' }} | {{ \Carbon\Carbon::parse($receivable['transaction_date'])->format('M d, Y') }} | ${{ number_format($receivable['final_total'], 2) }} | ${{ number_format($receivable['due_amount'], 2) }} | {{ $receivable['days_overdue'] }} |
| Reference | Supplier | Date | Type | Total | Due Amount | Days Overdue |
|---|---|---|---|---|---|---|
| {{ $payable['ref_no'] }} | {{ $payable['supplier_name'] ?: 'Unknown' }} | {{ \Carbon\Carbon::parse($payable['transaction_date'])->format('M d, Y') }} | {{ ucfirst($payable['type']) }} | ${{ number_format($payable['final_total'], 2) }} | ${{ number_format($payable['due_amount'], 2) }} | {{ $payable['days_overdue'] }} |
Generated by Advanced Reports Module - {{ date('Y-m-d H:i:s') }}