@extends('layouts.main') @section('main-container')
Bill Approval Report
Water Harvesting Structure
Details for Bill Approval - Farm Pond
Name of PIA: {{ $baseline->baseline->project->pia->name ?? 'N/A' }}
Village: {{ $baseline->baseline->village->name ?? 'N/A' }}
Panchayat: {{ $baseline->baseline->panchayat->name ?? 'N/A' }}
Block: {{ $baseline->baseline->block->name ?? 'N/A' }}
District: {{ $baseline->baseline->district->name ?? 'N/A' }}
Unit: {{ $baseline->unit_id ?? 'N/A' }}
State: {{ $baseline->state_id }}
Application Code: {{ $baseline->application_code }}
Financial Year: {{ $baseline->financial_year_id }}
Beneficiary Name: {{ $baseline->baseline->name_of_respondent ?? 'N/A' }}
Plot No: {{ $baseline->baseline->land->plot_khata ?? 'N/A' }}
@foreach ($readings as $index => $item) @if ($loop->first) @endif @endforeach @if ($measurementBook) @endif
Sl.No. Activity Name Estimated Unit Actual Bill Date GPS Reading Present Status Remarks
QtyRateAmount QtyRateAmount
{{ $item['serial_no'] ?? $index+1 }} {{ $item['activity_name'] ?? 'N/A' }} {{ $item['estimated_quantity'] ?? 0 }} {{ $item['estimated_rate'] ?? 0 }} {{ $item['estimated_amount'] ?? 0 }} {{ $item['unit'] ?? '' }} {{ $item['qty'] ?? 0 }} {{ $item['rate'] ?? 0 }} {{ $item['amount'] ?? 0 }}{{ $bill->bill_date ?? 'N/A' }} {{ $bill->gps_reading ?? 'N/A' }} {{ $bill->present_status ?? 'N/A' }} {{ $bill->remarks ?? 'N/A' }}
Total{{ number_format($measurementBook->total, 2) }}
GST (18%){{ number_format($measurementBook->gst, 2) }}
Grand Total{{ number_format($measurementBook->grand_total, 2) }}
@php $photos = [ 'Earthwork Photograph' => $baseline->earthwork_photograph, 'Inlet Photograph' => $baseline->inlet, 'Masonry Outlet Photograph' => $baseline->masonry_outlet, 'Masonry Outlet Outer Photograph' => $baseline->masonry_outlet_outer, 'Display Board Photograph' => $baseline->display_board, ]; @endphp @foreach ($photos as $title => $path)
{{ $title }}
@if ($path) {{ $title }} @else

No image available

@endif
@endforeach
@endsection