{!!Form::open(['method' => 'GET', 'url' => url("crew/report?reportType=Expiry Summary"),'class'=>"form-inline", 'id' => 'formExpiry' ]) !!} {!! Form::select('crew', ['fcm'=>'Flight Crew','ccm'=>'Cabin Crew'], $crewType, ['class'=>'form-control input_roster margin_right', 'id'=>'crew']) !!} {{--{!! Form::hidden('reportType', 'Expiry Summary') !!}--}}
{!! Form::input('submit', 'submit','Submit',[ 'class' => "btn btn-primary"]) !!}
{!!Form::close()!!}
@if ($staffData)

@lang("content.list")

{!! Form::open(['method' => 'POST', 'class' => 'form-inline']) !!} @php $width = count($licenses) * 200 + 400 @endphp @foreach($licenses as $license) @endforeach @foreach($licenses as $license) @endforeach @php $j = 0 @endphp @foreach($staffData as $k => $staffLicense) @php $user = $staffLicense["user"] @endphp @php $picture = $user->thumb ? '/storage/users/'.$user->thumb : '/assets/img/default-user-picture.png' @endphp @if ($j > 0 && $j % 8 == 0) @foreach($licenses as $license) @endforeach @foreach($licenses as $license) @endforeach @endif @foreach($licenses as $license) @php $expiryDate = isset($staffLicense[$license->id]) ? $staffLicense[$license->id] : null @endphp @endforeach @endforeach
No @lang("content.picture") @lang("content.first_name") @lang("content.last_name"){{ $license->abbr }}
@lang("content.dex") @lang("content.status")
No @lang("content.picture") @lang("content.first_name") @lang("content.last_name"){{ $license->abbr }}
@lang("content.dex") @lang("content.status")
{{ ++$j }} id/edit?s=".rand(100, 999)) }}"> id}/edit?s=".rand(100, 999)) }}">{{ $user->first_name }} id}/edit?s=".rand(100, 999)) }}">{{ $user->last_name }} {{ $expiryDate ? date('d-M-Y', strtotime($expiryDate)) : 'Empty' }} {!! Expiration_Date($expiryDate)['status'] !!}
{!! Form::close() !!}
@endif