@extends('dashboard.layout.master') @section('content')
@include('dashboard.layout.navbar') @php $current_user = Auth::user(); if ($current_user) { $allow_access = DB::table('users') ->join('roles', 'users.role', '=', 'roles.id') ->where('users.id', '=', $current_user->id) ->first(); } $form_management = json_decode($allow_access->form_management); array_unshift($form_management, 0); @endphp
Hold Survey Form List
@if(Auth::user()->role==51) @endif @foreach($survey_data as $item) @php $beneficairy_details=json_decode($item->beneficiary_details); @endphp @if(Auth::user()->role==51) @if(!isset($item->m_and_e_comment)) @else @endif @endif @endforeach
Id Beneficiary Ref no Form Name Person Name Person RoleM&E CommentView Beneficiary Detail Actions
{{$item->generated_id ?? 'not available'}} {{$beneficairy_details->b_reference_number}} {{$item->form_name}} {{$item->validator_name}} {{$item->role_name}} Add CommentShow CommentView Detail View Form
@if(session('error')) @endif @if(session('success')) @endif @endsection