Form Name Description Action @foreach($forms as $form) {{$form['name']}} @if ($form['confidential_form'] == 1) @endif {{$form['description']}} @if($role == 'admin' || (((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']]==1)) || ((isset($resident['home_id']) && (isset($perm['resident']['bulk_'.$resident['home_id']])) && ($perm['resident']['bulk_'.$resident['home_id']]==1)) && ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] ))) || ( ( (isset($perm['resident']['bulk'])) && ($perm['resident']['bulk'] == 1) ) && ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] )) )) && $role!='visitor')) {{--View--}} @if ($form['confidential_form'] == 1) Assign @elseif ($form['confidential_form'] != 1) Fill Form @endif @endif @endforeach