{{--@each('pireps.pirep_card', $pireps, 'pirep')--}} @foreach($pireps as $pirep) @endforeach
{{ trans_choice('frontend.global.flight', 1) }} @lang('frontend.global.departure') @lang('frontend.global.arrival') @lang('frontend.global.aircraft') @lang('frontend.global.flighttime') @lang('frontend.global.status') @lang('frontend.pireps.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) @lang('frontend.global.edit') @endif