@if (count($user))
{!! Form::open(['method' => 'POST', 'class' => 'form-inline']) !!} {{----}} {{----}} {{----}} {{----}} @php $model = ($crewType == 'fcm' ? 'CaptainFirstOfficer' : 'CabinCrew') @endphp @foreach($staffLicenses as $i => $each) @php $licenseExists = $each->attachment_file ? true : false @endphp @if(!$each->license) @continue @endif @endforeach
Category @lang("content.from") To/Exp @lang("content.status")
A/C Type

{!! is_array($aircraft) ? implode(', ', $aircraft) : $aircraft!!}

{{ $each->license->abbr }} {{ $each->issue_date ? date('d-M-Y', strtotime($each->issue_date)) : 'Empty' }} {{ $each->expiry_date ? date('d-M-Y', strtotime($each->expiry_date)) : 'Empty' }} {!! Expiration_Date($each->expiry_date)['status'] !!}
{!! Form::close() !!}
@endif