@php $form_name = $survey_data->form_name; $survey_id=$survey_data->survey_form_id; $beneficiary_details=json_decode($survey_data->beneficiary_details); $survey_data = json_decode($survey_data->survey_form_data); $allow_to_update_form=allow_to_update_form(); $certification_status=certification($survey_id,'HRU'); $change_status=false; $hold=false; if($status=='IP' && $is_m_and_e='is_m_and_e'){ $updated_by='IP'; $change_status=true; } if($status=='HRU' && $is_m_and_e='is_m_and_e'){ $updated_by='HRU'; $change_status=true; } if($status=='HRU_Main' && $is_m_and_e='is_m_and_e'){ $updated_by='HRU_Main'; $change_status=true; } if($status=='field_supervisor' && $is_m_and_e='is_m_and_e'){ $updated_by='field supervisor'; $change_status=true; } $allow_user_update=allow_user_update(); @endphp @if(Auth::user()->role==51) @endif
@foreach($question_cat as $section) @if($loop->iteration == 2)@endif @endforeach
×
@if(($allow_user_update['change_status'] || ($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($allow_user_update['hold']) @endif @endif
@if(session('error')) @endif @if(session('success')) @endif