Accounts Receivable Summary

Invoices - Received - Returns
Customer: {{ request('customer_id') ?: 'All' }} Currency: {{ request('currency_id') ?: 'All' }} From: {{ request('date_from') ?: '-' }} To: {{ request('date_to') ?: '-' }} Only Open: {{ request('only_open')==1 ? 'Yes' : 'No' }}
Printed: {{ date('Y-m-d H:i') }}
@forelse($rows as $r) @php $cust = $customerLookup[$r['customer_id']] ?? null; $cur = $currencyLookup[$r['currency_id']] ?? null; $custName = $cust->name ?? ('Customer #'.$r['customer_id']); $curName = $cur->title_en ?? $cur->title_ps ?? ('CUR #'.($r['currency_id'] ?? 1)); @endphp @empty @endforelse @if(count($rows)) @endif
Customer Currency Inv Invoices Received Returns Outstanding Outstanding (Base)
{{ $custName }} {{ $curName }} {{ $r['invoice_count'] }} {{ number_format((float)$r['invoice_total'],2) }} {{ number_format((float)$r['received_total'],2) }} {{ number_format((float)$r['return_total'],2) }} {{ number_format((float)$r['outstanding'],2) }} {{ number_format((float)$r['outstanding_base'],2) }}
No data found.
Totals {{ number_format((float)($totals['invoice_total'] ?? 0),2) }} {{ number_format((float)($totals['received_total'] ?? 0),2) }} {{ number_format((float)($totals['return_total'] ?? 0),2) }} {{ number_format((float)($totals['outstanding'] ?? 0),2) }} {{ number_format((float)($totals['outstanding_base'] ?? 0),2) }}