{{--@each('pireps.pirep_card', $pireps, 'pirep')--}}
{{ __trans_choice('Flight', 1) }} | {{ __('Departure') }} | {{ __('Arrival') }} | {{ __('Aircraft') }} | {{ __('Flight Time') }} | {{ __('Status') }} | {{ __('Submitted') }} | |
---|---|---|---|---|---|---|---|
{{ $pirep->airline->code }}{{ $pirep->ident }} | {{ $pirep->dpt_airport->name }} ({{$pirep->dpt_airport->icao}}) | {{ $pirep->arr_airport->name }} ({{$pirep->arr_airport->icao}}) | {{ $pirep->aircraft->name }} | {{ (new \App\Support\Units\Time($pirep->flight_time)) }} |
@if($pirep->state === PirepState::PENDING)
@elseif($pirep->state === PirepState::ACCEPTED)
@elseif($pirep->state === PirepState::REJECTED)
@else
@endif
{{ PirepState::label($pirep->state) }}
|
@if(filled($pirep->submitted_at)) {{ $pirep->submitted_at->diffForHumans() }} @endif | @if(!$pirep->read_only) {{ __('Edit') }} @endif |