@if($pirep->state === PirepState::PENDING)
@elseif($pirep->state === PirepState::ACCEPTED)
@elseif($pirep->state === PirepState::REJECTED)
@else
@endif {{ PirepState::label($pirep->state) }}
@if($pirep->level) @endif
@lang('pireps.flighttime')  {{ Utils::minutesToTimeString($pirep->flight_time) }}
@lang('common.aircraft')  {{ $pirep->aircraft->name }} ({{ $pirep->aircraft->registration }})
@lang('pireps.flightlevel')  {{ $pirep->level }}
@lang('pireps.filedon'):  {{ show_datetime($pirep->created_at) }}