Owner Name: {{ $summary['owner_name'] ?? '-' }}
Lot No: {{ $summary['lot_no'] ?? '-' }}
Utility Type: {{ $summary['service_type'] ?? '-' }}
Date Range: {{ $summary['from'] ?? '-' }} to {{ $summary['to'] ?? '-' }}
| Invoice Date | Invoice Number | Units Consumed | Amount Due (Rs) |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($record['survey_end_date'], 'UTC')->setTimezone($preferences['timezone'] ?? 'Indian/Mauritius')->format('d/m/Y') }} | {{ $record['id'] }} | {{ number_format((float) $record['units_consumed'], 2) }} | {{ number_format((float) $record['net_bill_value'], 2) }} |
| Total | {{ number_format((float) collect($summary['records'])->sum('units_consumed'), 2) }} | {{ number_format((float) collect($summary['records'])->sum('net_bill_value'), 2) }} |