@extends('dashboard.layout.master') @section('content')
@include('dashboard.layout.navbar') @if(Auth::user()->role==37 || $allow_to_update_form->allow_to_update_form=='PSIA')
@endif
Survey Form List
role!=37 ? 'myTable' : ''}} > @if(Auth::user()->role==1 || Auth::user()->role==51) @if(Auth::user()->role==1) @endif @if(Auth::user()->role==51) @endif @else @if(Auth::user()->role==37 || $allow_to_update_form->allow_to_update_form=='PSIA') @endif @if(Auth::user()->role==39 || $allow_to_update_form->allow_to_update_form=='COO') @endif @if(Auth::user()->role==38 || $allow_to_update_form->allow_to_update_form=='HRU_Main') @endif @if(Auth::user()->role==26 || $allow_to_update_form->allow_to_update_form=='HRU') @endif @if(Auth::user()->role==34 || $allow_to_update_form->allow_to_update_form=='IP') @endif @if(Auth::user()->role==30 || $allow_to_update_form->allow_to_update_form=='field_supervisor') @endif @endif @if(Auth::user()->role==1) @foreach($survey_data as $item) @php $beneficairy_details=json_decode($item->beneficiary_details); @endphp @if(Auth::user()->role==51) @php $role_name=\DB::table('users')->join('roles','users.role','=','roles.id')->select('roles.name') ->where('users.id',$item->user_id)->first(); @endphp @endif @endforeach @elseif(Auth::user()->role==51) @include('dashboard.survey.pending.m&e') @elseif(Auth::user()->role==30 || $allow_to_update_form->allow_to_update_form=='field_supervisor') @include('dashboard.survey.pending.field_supervisor') @elseif(Auth::user()->role==34 || $allow_to_update_form->allow_to_update_form=='IP') @include('dashboard.survey.pending.IP') @elseif(Auth::user()->role==26 || $allow_to_update_form->allow_to_update_form=='HRU') @include('dashboard.survey.pending.HRU') @elseif(Auth::user()->role==37 || $allow_to_update_form->allow_to_update_form=='PSIA') @include('dashboard.survey.pending.PSIA') @elseif(Auth::user()->role==38 || $allow_to_update_form->allow_to_update_form=='HRU_Main') @include('dashboard.survey.pending.HRUMAIN') @elseif(Auth::user()->role==39 || $allow_to_update_form->allow_to_update_form=='COO') @include('dashboard.survey.pending.COO') @elseif(Auth::user()->role==40 || $allow_to_update_form->allow_to_update_form=='CEO') @include('dashboard.survey.pending.CEO') @endif
Ref No Beneficiary Name CNIC Father NameUser NameForm Name Lot District Tehsil UCRole Name Select Status Status Commentsid Date Actions
Ref no Beneficiary Name CNIC Father Name Form Name Lot District Tehsil UCHRU Main Status HRU Main Comment Certification StatusCEO Status CEO CommentCOO Status COO CommentQA Status QA CommentHRU Status HRU CommentIP Status IP CommentId Date Actions
{{$beneficairy_details->b_reference_number}} {{$beneficairy_details->beneficiary_name}} {{$beneficairy_details->cnic}} {{$beneficairy_details->father_name}} {{$item->user_name}} {{$item->form_name}}{{$role_name->name ?? 'N/A'}} {{$item->lot_name}} {{$item->district_name}} {{$item->tehsil_name}} {{$item->uc_name}} {{$item->generated_id}} {{$item->submission_date}} View Detail
@if(session('error')) @endif @if(session('success')) @endif @endsection