{!! Form::open(['method' => 'POST', 'class' => 'form-inline']) !!} @if ($crewType == 'fcm') @elseif($crewType == 'ccm') @endif
Category @lang("content.info")
Staff No {{ $user->staff_number }}
@lang("content.email") {{ $user->email }}
@lang("content.date_of_birth") {{ $user->dob ? date('d-M-Y', strtotime($user->dob)) : 'Empty' }}
@lang("content.place_of_birth") {{ $user->pob_country_id ? $user->pob->country : 'Empty' }}
Date of Joining {{ $user->doj }}
@lang("content.location") {{ $user->location_id ? $user->location->airport->iata : '' }}
@lang("content.department") {{ $user->department_id ? $user->department_name : '' }}
@lang("content.position") {{ $user->position_id ? $user->position_title : '' }}
Captain {{ isCaptain($user) ? "Yes" : "No" }}
English Level {{ $user->english_level ? $user->english_level : "" }}
Purser {{ isPurser($user) ? "Yes" : "No" }}
@lang("content.language") {{ count($languages) ? implode(', ', $languages) : 'Empty' }}
@lang("content.nationality") {{ $user->nationality_id ? $user->nationality->nationality : 'Empty' }}
ID Card No {{ $user->idcard_number ? $user->idcard_number : '' }}
ID Card Expires {{ $user->idcard_expiry ? date('d-M-Y', strtotime($user->idcard_expiry)) : '' }}
Phone (Home) {{ $user->phone ? $user->phone : 'Empty'}}
Phone (Mobile) {{ $user->mobile ? $user->mobile : 'Empty' }}
Reports To @php $full_name = $user->reportsTo ? $user->reportsTo->first_name . " " . $user->reportsTo->last_name : "-" @endphp {{ $user->reports_to_user_id ? $full_name : '' }}
{!! Form::close() !!}