| Sl | Supplier | Payment Amount | Purchase Amount | Balance |
|---|---|---|---|---|
| {{ $loop->iteration }} | {{ optional($purchase->first()->account)->name }} | {{ number_format($total_paid, 2) }} | {{ number_format($total_purchase, 2) }} | {{ number_format($total_amount, 2) }} |
| Total: | {{ number_format($grand_total_paid, 2) }} | {{ number_format($grand_total_purchase, 2) }} | {{ number_format($grand_total_amount, 2) }} | |