@include('layouts.header', ['title' => 'Joint Verification List'])
@include('layouts.navbar') @include('layouts.sidebar')
@include('components.project-details', ['project' => $project])

Joint Verification List

   Download Verification Excel {{--
--}}
@if ($surveys->isEmpty()) @else @foreach ($surveys as $key => $survey) {{-- @php $selectedRemark = optional($survey->SurveyUserResidential()->first()) ->remark_id ?? (optional($survey->SurveyUserCommercial()->first()) ->remark_id ?? optional($survey->surveyUserOthers()->first()) ->remark_id); @endphp @endforeach @endif
Sl. No. Map No. Identification No Map Location Name of the Owner Name of the Occupant of structure Carpet Area(In Sq.mtr.) Type of Use Survey Date Remark Action
No Records Found
{{ $key + 1 }}{{ $loop->iteration + ($surveys->currentPage() - 1) * $surveys->perPage() }} --}} {{ $survey->map_id ?? 'N/A' }} {{ $survey->structure_id ?? 'N/A' }} {{ $survey->map_location ?? 'N/A' }} @if ($survey->SurveyUserResidential->isNotEmpty()) {{ $survey->SurveyUserResidential->pluck('structure_owner_name')->implode(', ') }} @elseif ($survey->surveyUserOthers->isNotEmpty()) {{ $survey->surveyUserOthers->pluck('owner_name')->implode(', ') }} @elseif ($survey->surveyUserCommercial->isNotEmpty()) {{ $survey->surveyUserCommercial->pluck('ownership')->filter()->implode(', ') }} @else N/A @endif @if ($survey->SurveyUserResidential->isNotEmpty()) {{ $survey->SurveyUserResidential->pluck('name_occupant_structure')->implode(', ') }} @elseif ($survey->surveyUserOthers->isNotEmpty()) {{ $survey->surveyUserOthers->pluck('name_of_occupant')->filter()->implode(', ') ?? 'N/A' }} @elseif ($survey->surveyUserCommercial->isNotEmpty()) {{ $survey->surveyUserCommercial->pluck('name_establishment_owner')->filter()->implode(', ') }} @else N/A @endif @if ($survey->SurveyUserResidential->isNotEmpty()) {{ $survey->SurveyUserResidential->pluck('total_area')->implode(', ') }} @elseif ($survey->surveyUserOthers->isNotEmpty()) {{ $survey->surveyUserOthers->pluck('total_area')->filter()->implode(', ') ?? 'N/A' }} @elseif ($survey->surveyUserCommercial->isNotEmpty()) {{ $survey->surveyUserCommercial->pluck('total_area')->filter()->implode(', ') }} @else N/A @endif @if ($survey->structure_use == '1') Residential @elseif ($survey->structure_use == '2') Commercial @elseif ($survey->structure_use == '3') Resi-Cum-Comm @elseif ($survey->structure_use == '4') Others @else N/A @endif {{ $survey->survey_date ? date('d M Y', strtotime($survey->survey_date)) : 'N/A' }} @php $hasStatus5 = $project->statuses->contains( 'status', 5, ); $hasStatus6 = $project->statuses->contains( 'status', 6, ); @endphp @if ($hasStatus5 || $hasStatus6) @foreach ($remarks as $remark) @endforeach @else @endif
{{-- --}}
@error('file')
{{ $message }}
@enderror
@if (isset($jointVerificationDocs))

Uploaded Joint Verification Files:

@endif @php $matchedStatus = $project->status ? $project->statuses->firstWhere('status', $project->status->id) : null; if ($matchedStatus) { $createdAt = $matchedStatus->created_at; } else { $createdAt = 'N/A'; } @endphp @if (isset($project->draft_annexure_remark))

Description: {!! $project->draft_annexure_remark ?? 'N/A' !!}

@endif
@include('layouts.footer')
@include('admin.load-datatable')