@extends('layouts.usermain') @section('main-container') @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
Quantity Calculation (Edit)
{{ $query->village->name ?? '-' }}
{{ $query->panchayat->name ?? '-' }}
{{ $query->block->name ?? '-' }}
{{ $query->district->name ?? '-' }}
{{ $query->name_of_respondent ?? '-' }}
{{ $query->land->plot_khata ?? '-' }}
{{ $query->postLevel->lat ?? '-' }}
{{ $query->postLevel->long ?? '-' }}
@csrf @method('PUT')
Earthwork Quantity Calculation
@php $layers = ['1st Layer', '2nd Layer', '3rd Layer', '4th Layer']; $estimates = $record->average_estimates ?? []; @endphp @foreach ($layers as $index => $layer) @endforeach {{-- Totals and Remarks --}}
AVG. TOP LEVEL AVG. BOTTOM LEVEL AVG. DEPTH (mtr) AVG. LENGTH (mtr) AVG. WIDTH (mtr) AVG. AREA (Sqm) QTY (Cum)
{{ $layer }}
Total Depth Total Quantity
Estimated Quantity
Payable Quantity
Remarks for Depth:-
Remarks for Length, Width and Area :-
Remarks for Volume of Earth Work:-

Measurements for Bund and Quantity Calculation for Dressing Area

@php $bunds = $record->measurements_for_bund ?? []; $defaultNames = ['Bund I', 'Bund II', 'Bund III', 'Bund IV']; @endphp @for($i = 0; $i < 4; $i++) @php $bund = $bunds[$i] ?? ['particular' => $defaultNames[$i]]; @endphp @endfor
Particulars Avg Length (mtr) Avg Bottom Width (mtr) Avg Height (mtr) Top Width (mtr) Slant Length (mtr) Frequency Dressing Area (sqm)
Avg/Total
Estimated Dressing Area
Payable Quantity
Remarks for bund and bund volume
OUTLET WORK
@php $bunds = $record->outlet_work ?? '[]'; $inner = $bunds[0] ?? ['avg_length'=>'', 'avg_width'=>'', 'avg_depth'=>'', 'qty'=>'']; $outer = $bunds[1] ?? ['avg_length'=>'', 'avg_width'=>'', 'avg_depth'=>'', 'qty'=>'']; $both = $bunds[2] ?? ['avg_length'=>'', 'avg_width'=>'', 'avg_depth'=>'', 'qty'=>'']; @endphp
Particulars Avg Length (mtr) Avg Width (mtr) AVG Thickness/Depth (mtr) Qty
Hume Pipe's Length and Diameter
Estimated qty
Payable quantity
Deduction of hume pipe
Masonry work after deduction of hume pipe volume
Estimated qty
Payable Quantity (after deduction)
Excavation for Silt Trap
@php $siltTrap = $record->excavation_for_silt_trap ?? '{}'; @endphp
Avg Length (mtr) Avg Width (mtr) Avg Depth (mtr) Qty (Cum)
Excavation for Inlet
@php $excavationForInlet = $record->excavation_for_inlet; @endphp
Avg Length (mtr) Avg Width (mtr) Avg Depth (mtr) Qty (Cum)
Stone Pitching at Inlet
@php $spi = ($record->stone_pitching_at_inlet) ?? ['avg_length' => '', 'avg_width' => '', 'qty' => '']; @endphp
Avg Length (mtr) Avg Width (mtr) Qty (Sqm)
Display Board Work (1m x 1m x 0.3m)
@php $displayBoardWork = $record->display_board_work; @endphp
Particulars Avg Length (m) Avg Width (m) AVG Thickness/Depth (M) Qty
Size of Display Board
Earth Work Excavation (Cum)
Estimated qty of excavation (Cum)
Payable quantity (Cum)
Brick Work - Foundation
Brick Work - Superstructure
Total brick work (Cum)
Estimated brick work qty(Cum)
Payable quantity (cum)
Plaster Work (Sqm)
Estimated plaster work qty (Sqm)
Payable quantity (Sqm)
Wall Writing with Synthetic Paint (Sqm)
Estimated wall writing qty (Sqm)
Payable quantity (Sqm)
Remarks for Inlet, Outlet and Display board work

Grass Turfing Work

@foreach($grassTurfings as $index => $turf) @endforeach
Description No. Length (m) Breadth (m) Area (sqm)
{{ $turf->desc }} desc, ['Bund 1','Bund 2','Bund 3','Bund 4']) ? 'readonly' : '' }}>
Total Area (sqm)
Estimated Grass Turfing Area (sqm)
Payable Quantity (sqm)
@endsection @push('scripts') @endpush