@if (count($maintenance)) @if (checkAuthorization(ADMIN)) @endif @foreach ($maintenance as $i => $item) @php $user = App\Models\User::find($item->user_id) @endphp @if (checkAuthorization(ADMIN)) @endif @endforeach
No @lang("content.ac_reg") @lang("content.notes") @lang("content.location") @lang("content.start_date") @lang("content.end_date")@lang("content.updated_by") @lang("content.last_updated")@lang("content.actions")
{{ $i + 1 }} {{ getAircraft($item->aircraft) }} {{ $item->note }} {{ $item->location_code }} {{ date('d M Y H:i', strtotime($item->arrival_time)) }} {{ date('d M Y H:i', strtotime($item->departure_time)) }}{{ $user ? $user->first_name.' '.$user->last_name : '' }} {{ date('M d, Y H:i', strtotime($item->updated_at)) }} aircraft_id}") }}">@lang("content.view")
@else

@lang("content.found") 0 @lang("content.records")

@endif