@extends('dashboard.layout.master') @section('content')
@include('dashboard.layout.navbar')
Damage Assessment Form Report
@foreach($result as $item) @php $user_lot=Auth::user()->lot_id; $user_lots=json_decode($user_lot); $field_superVisor_count=singleReporting($item->districtId,"field supervisor"); $ip_count=singleReporting($item->districtId,"IP"); $hru_count=singleReporting($item->districtId,"HRU"); $psia_count=singleReporting($item->districtId,"PSIA"); $hru_main_count=singleReporting($item->districtId,"HRU_MAIN"); $COO_count=singleReporting($item->districtId,"COO"); $CEO_count=singleReporting($item->districtId,"CEO"); $finance_count=singleReporting($item->districtId,"finance"); @endphp @if(Auth::user()->role==1 || Auth::user()->role==39 || Auth::user()->role==40) @else @if(in_array($item->lotId,$user_lots)) @endif @endif @endforeach
S no Lot Name District Name Total Target For The District Total No Of Validated Field Supervisor
{{$loop->index+1}} {{$item->lotName}} {{$item->district}} {{$item->total_beneficiary}} {{$item->validated_beneficiary ?? 0}} {{$field_superVisor_count}}
{{$loop->index+1}} {{$item->lotName}} {{$item->district}} {{$item->total_beneficiary}} {{$item->validated_beneficiary ?? 0}} {{$field_superVisor_count}} {{$ip_count}} {{$hru_count}} {{$psia_count}} {{$hru_main_count}} {{$COO_count}} {{$finance_count}}
@if(session('error')) @endif @if(session('success')) @endif @endsection