@extends('layouts.usermain') @section('main-container')
| Unit | District | Block | Village | WHS Code | WHS Type | Beneficiary Name | Survey Date | Size (L x W x D in m) | Add | Status | Edit | Base L-View |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $report->unit->name ?? '-' }} | {{ $report->district->name ?? '-' }} | {{ $report->block->name ?? '-' }} | {{ $report->village->name ?? '-' }} | {{ $report->application_code ?? '-' }} | {{ $report->projectType->name ?? '-' }} | {{ $report->name_of_respondent ?? '-' }} | {{ $report->date_of_survey ? \Carbon\Carbon::parse($report->date_of_survey)->format('d/m/y') : '-' }} | {{ $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(', ') ?? '-' }} | Member | {{ $report->status ?? '-' }} | @if(in_array($report->status, ['Pending', 'Needs Correction'])) Edit @else @endif | View |