@extends('layouts.main') @section('main-container')
| Unit | District | Block | Village Name | WHS Code | WHS Type | Beneficiary Name | Category | Date of Survey | Size (L x W x D in m) | Surveyed By | Status | View Details | Technical Parameters | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $report->unit->name ?? '-' }} | {{ $report->district->name ?? '-' }} | {{ $report->block->name ?? '-' }} | {{ $report->village->name ?? '-' }} | {{ $report->application_code ?? '-' }} | {{ $report->projectType->name ?? '-' }} | {{ $report->name_of_respondent ?? '-' }} | {{ $report->households->first()->category ?? '-' }} | {{ $report->date_of_survey ?? '-' }} | {{ $report->waterHarvestingStructuresPlanning->pluck('length')->map(fn($l) => (int) $l)->filter()->implode(', ') ?? '-' }} × {{ $report->waterHarvestingStructuresPlanning->pluck('width')->map(fn($w) => (int) $w)->filter()->implode(', ') ?? '-' }}× {{ $report->waterHarvestingStructuresPlanning->pluck('depth_or_height')->map(fn($w) => (int) $w)->filter()->implode(', ') ?? '-' }} | {{ $report->user->name }} | {{ $report->status ?? '-' }} | View | Show | @php $structure = $report->waterHarvestingStructuresPlanning->first(); @endphp @if ($structure) Map View @endif |