@if(count($users)) @foreach($users as $user) {!! $user->Profile->first_name !!} {!! $user->DesignationName !!} {!! $user->Profile->unique_identification_number !!} @if (env('COMPANY_ID') == 34 || env('COMPANY_ID') == 91) {!! $user->shift_type !!} @endif {!! $user->Profile->nationality !!} {!! (!empty($user->Profile->date_of_birth)) ? showDate($user->Profile->date_of_birth).' ('.getAge($user->Profile->date_of_birth).'Yrs)' : '' !!} @if (isClientRole()) {!! trans('messages.download').' '.trans('messages.profile') !!} @else {!! Form::open(['url'=>'/officer-deployment/'.$location_id.'/unassign/'.$user->id.'?type=relief','id'=>$user->id.'-unassign-form','data-table-refresh'=>'Relief-table']) !!} {!! Form::button(' '.trans('messages.unassign').' '.trans('messages.officer'),['class' => 'btn btn-danger btn-sm', 'data-submit-alert-message' => 'Yes', 'type' => 'submit','data-alert-message' => trans('messages.action_confirm_message')]) !!} {!! Form::close() !!} @endif @endforeach @else {{trans('messages.no_data_found')}} @endif