@php $allow_to_update_form=allow_to_update_form(); $certification_status=certification($id,'HRU'); $change_status=false; $hold=false; if(Auth::user()->role==30 || $allow_to_update_form->allow_to_update_form=='field_supervisor'){ $change_status=true; $updated_by='field supervisor'; } if(Auth::user()->role==34 || $allow_to_update_form->allow_to_update_form=='IP'){ $change_status=true; $updated_by='IP'; } if(Auth::user()->role==26 || $allow_to_update_form->allow_to_update_form=='HRU'){ $change_status=true; $updated_by='HRU'; } if(Auth::user()->role==37 || $allow_to_update_form->allow_to_update_form=='PSIA'){ $change_status=true; $updated_by='PSIA'; } if(Auth::user()->role==38 || $allow_to_update_form->allow_to_update_form=='HRU_Main'){ $change_status=true; $updated_by='HRU_Main'; $hold=true; } if(Auth::user()->role==39 || $allow_to_update_form->allow_to_update_form=='COO'){ $change_status=true; $updated_by='COO'; $hold=true; } if(Auth::user()->role==40 || $allow_to_update_form->allow_to_update_form=='CEO'){ $change_status=true; $updated_by='CEO'; $hold=true; } @endphp
@foreach($question_cat as $section) @if($loop->iteration == 2)@endif @endforeach
×
@if($change_status && $session=='1') @if(Auth::user()->role==37 || $allow_to_update_form->allow_to_update_form=='PSIA') @if($certification_status->certification==1) @endif @else @endif @if($hold) @endif @endif
@if(session('error')) @endif @if(session('success')) @endif