| Shop No | Account No | Customer Name | Meter No | Prev Reading | Curr Reading | Consumption | Amount |
|---|---|---|---|---|---|---|---|
| {{ $bill->shop_no }} | {{ $bill->account_no }} | {{ $bill->customer_name }} | {{ $bill->meter_no }} | {{ number_format($bill->previous_reading, 0) }} | {{ number_format($bill->current_reading, 0) }} | {{ number_format($bill->consumption_billed, 0) }} | {{ number_format($bill->total_bill, 2) }} |
| Total for {{ $firstBill->court ?? 'N/A' }} ({{ $courtId }}): | {{ number_format($billsByCourt->sum('consumption_billed'), 0) }} | {{ number_format($billsByCourt->sum('total_bill'), 2) }} | |||||