@extends('layouts.app') @section('title', 'Meter Reading Details') @section('content')
Reading Date: {{ $reading->reading_date->format('F d, Y H:i') }}
Account Number: {{ $reading->client->account_number }}
Name: {{ $reading->client->name }}
Meter Number: {{ $reading->client->meter_number ?? 'N/A' }}
Address: {{ $reading->client->address ?? '-' }}
Current Reading: {{ number_format($reading->reading_value, 2) }} cu.m
Previous Reading: {{ number_format($reading->previous_reading ?? 0, 2) }} cu.m
Units Consumed: {{ number_format($reading->units_consumed ?? 0, 2) }} cu.m
Recorded By: {{ $reading->recorded_by ?? '-' }}
Notes:
{{ $reading->notes }}
This reading is pending approval. Review the data and approve to generate a billing statement.
@elseif ($reading->status === 'approved') @if ($reading->isBillable()) {{-- Approved, but its bill was voided or cancelled: the consumption is unbilled again and needs a replacement bill. --}}