{{ $pirep->airline->code }}{{ $pirep->ident }}
@php $PirepStateClass = "badge badge-info" ; if($pirep->state === PirepState::PENDING ) { $PirepStateClass = "badge badge-warning" ; } if($pirep->state === PirepState::ACCEPTED ) { $PirepStateClass = "badge badge-success" ; } if($pirep->state === PirepState::REJECTED ) { $PirepStateClass = "badge badge-danger" ; } @endphp
{{ PirepState::label($pirep->state) }}
Pilot {{ $pirep->user->name }} 
DEP {{ $pirep->dpt_airport_id }}  ARR {{ $pirep->arr_airport_id }} 
Flight Time  @minutestotime($pirep->flight_time)
@if($pirep->aircraft)
Aircraft {{ $pirep->aircraft->registration }} ({{ $pirep->aircraft->name }})
@endif @if(filled($pirep->level))
Flight Level {{ $pirep->level }}
@endif
Filed Using  {{ PirepSource::label($pirep->source) }} @if(filled($pirep->source_name)) ({{ $pirep->source_name }}) @endif
File Date  {{ show_datetime($pirep->created_at) }}
@include('admin.pireps.actions', ['pirep' => $pirep, 'on_edit_page' => false])