@php $configData = Helper::appClasses(); @endphp @extends('layouts/layoutMaster') @section('title', 'Bulk Meter Readings - ' . $property->name) @section('content')

Bulk Utility Meter Reader

Property: {{ $property->name }} • Address: {{ $property->address }}

Back to All Readings
@if (session('warning'))
{{ session('warning') }}
@endif
Total Units: {{ count($unitsData) }}
@csrf
Batch Meter Grid ({{ ucfirst($utilityType) }})
Date
Ksh/Unit
@forelse($unitsData as $index => $item) @php $u = $item['unit']; $prev = $item['previous_reading']; @endphp @empty @endforelse
Unit Status Previous Reading Last Date Current Reading Units Used Est. Cost (Ksh)
Unit {{ $u->unit_number }} @if($utilityType === 'electricity' && $u->electricity_meter_no)
{{ $u->electricity_meter_no }}
@elseif($utilityType === 'water' && $u->water_meter_no)
{{ $u->water_meter_no }}
@elseif($u->floor_level || $u->wing_or_block)
{{ implode(' • ', array_filter([$u->wing_or_block, $u->floor_level])) }}
@endif
{{ ucfirst($u->status) }} {{ number_format($prev, 2) }} {{ $item['last_reading_date'] ? \Carbon\Carbon::parse($item['last_reading_date'])->format('d M Y') : 'Never' }} 0.00 0.00
No units found in this property.
@endsection @section('page-script') @endsection