@if(count($users)) @foreach($users as $user) @if (isClientRole()) {!! $user->Profile->first_name !!} @else {!! $user->Profile->first_name !!} @endif {!! $user->designation !!} {!! $user->Profile->unique_identification_number !!} {!! $user->Profile->nationality !!} {!! (!empty($user->Profile->date_of_birth)) ? showDate($user->Profile->date_of_birth).' ('.getAge($user->Profile->date_of_birth).'Yrs)' : '' !!} {!! showDate($user->from_date) !!} {!! showDate($user->to_date) !!} @if (isClientRole()) {!! trans('messages.download').' '.trans('messages.profile') !!} @else {!! trans('messages.unassign').' '.trans('messages.officer') !!} @endif @endforeach @else {{trans('messages.no_data_found')}} @endif