Approved Staff List

{!! Form::open([ 'url' => url("airlines/{$airline->id}/staff"), 'class' => 'form-inline', 'method' => 'POST', 'id' => 'formOPS']) !!}
{!! Form::hidden("airline_id", $airline->id) !!}
{!! Form::close() !!}
@php $rest = 160 @endphp @php $eachPerc = 60 @endphp @php $width = $rest + (count($services) * $eachPerc) @endphp @php $j = 0 @endphp @foreach($services as $id => $service) @endforeach @foreach($airlineApprovedStaff as $i => $staff) @php $picture = $staff->thumb ? '/storage/users/'.$staff->thumb : '/assets/img/default-user-picture.png' @endphp @php $staffServicesIds = $staff->service ? $staff->service->pluck("service_id")->all() : [] @endphp @php $base = $staff->location && $staff->location->airport ? $staff->location->airport->iata : "-" @endphp @foreach($services as $service) @endforeach @php $j++ @endphp @endforeach
No @lang("content.picture") @lang("content.first_name") @lang("content.last_name") @lang("content.station"){{ $service->abbr }}
{{ $i + 1 }} id/edit") }}" > id}/edit") }}">{{ $staff->first_name }} id}/edit") }}">{{ $staff->last_name }} {{ $base }} @if (in_array($service->id, $staffServicesIds)) @endif