{!! Form::open(['method' => 'POST', 'class' => 'form-inline']) !!} @if ($crewType == 'fcm') @elseif($crewType == 'ccm') @endif
Category @lang("content.info")
@lang("content.staff_no") {{ $user->staff_number ? $user->staff_number : 'Empty' }}
@lang("content.email") {{ $user->email ? $user->email : 'Empty' }}
A/C Type Rating {{ count($restrictionAircraftTypes) ? implode(', ', $restrictionAircraftTypes) : 'Empty' }}
@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 ? date('d-M-Y', strtotime($user->doj)) : 'Empty' }}
@lang("content.location") {{ $user->location_id ? ($user->location->airport->iata ?? $user->location->airport->icao) : 'Empty' }}
@lang("content.department") {!! $user->department_id ? $user->department_name : 'Empty' !!}
@lang("content.position") {!! $user->position_id ? $user->position_title : 'Empty' !!}
Captain {!! isCaptain($user) ? "Yes" : "No" !!}
English Level {!! $user->english_level ? $user->english_level : "Empty" !!}
Purser {!! isPurser($user) ? "Yes" : "No" !!}
Business Class {!! $user->is_business_crew ? "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 : 'Empty' }}
ID Card Expires {{ $user->idcard_expiry ? date('d-M-Y', strtotime($user->idcard_expiry)) : 'Empty' }}
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 : 'Empty' }}
{!! Form::close() !!}