@extends('layouts.usermain') @section('main-container')
Baseline Report
@foreach($reports as $report) @endforeach
WHS Code WHS Type Beneficiary Name Category Village Name Block District Unit Latitude Longitude Date of Survey Size (L × W in m) Surveyed By Status View Details Technical Parameters Action
{{ $report->application_code ?? '-' }} {{ $report->projectType->name ?? '-' }} {{ $report->name_of_respondent ?? '-' }} {{ $report->households->first()->category ?? '-' }} {{ $report->village->name ?? '-' }} {{ $report->block->name ?? '-' }} {{ $report->district->name ?? '-' }} {{ $report->unit->name ?? '-' }} {{ $report->waterHarvestingStructuresPlanning->pluck('latitude')->filter()->implode(', ') ?? '-' }} {{ $report->waterHarvestingStructuresPlanning->pluck('longitude')->filter()->implode(', ') ?? '-' }} {{ $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->user->name }} {{ $report->status ?? '-' }} View @if ($report->preWorkLevels) Done @else Add @endif Show
@csrf @method('DELETE')
{{ $reports->links() }}
@endsection