@extends('layouts.app') @section('title', 'Customers Due Report') @section('breadcrumb')
All customers with outstanding balances
| Customer | Phone | Pending Invoices | Oldest Invoice | Total Due | Action |
|---|---|---|---|---|---|
| {{ $c->name }} | {{ $c->phone ?? '—' }} | @foreach($c->sales->take(3) as $s) {{ $s->invoice_no }}: ৳{{ number_format($s->due_amount,0) }} @endforeach @if($c->sales->count() > 3)+{{ $c->sales->count()-3 }} more@endif | {{ $c->sales->first()?->sale_date?->format('d M Y') ?? '—' }} | ৳{{ number_format($c->current_due,2) }} | Collect |
All customers are fully paid up! | |||||
| Total Receivable: | ৳{{ number_format($totalDue,2) }} | ||||