| Reference | Customer | Total Amount | Paid | Remaining | Overdue Amount | Next Due Date | |
|---|---|---|---|---|---|---|---|
| {{$plan->reference->reference_no ?? 'N/A'}} | {{$plan->reference->customer->name ?? 'N/A'}} | {{number_format($plan->total_amount, config('decimal'))}} | {{$paid_count}} / {{$total_count}} | {{$total_count - $paid_count}} | {{number_format($overdue_amount, config('decimal'))}} | {{$next_date}} |