@extends('app') @section('title', 'PIREP '.$pirep->ident) @section('content')
@if($pirep->state === PirepState::IN_PROGRESS) @else Arrived {{$pirep->created_at->diffForHumans()}} @endif
{{ $pirep->dpt_airport->full_name }} ({{ $pirep->dpt_airport_id }})
@if($pirep->block_off_time)
{{ $pirep->block_off_time->toDayDateTimeString() }}
@endif
{{ $pirep->arr_airport->full_name }} ({{ $pirep->arr_airport_id }})
@if($pirep->block_on_time)
{{ $pirep->block_on_time->toDayDateTimeString() }}
@endif
State |
{{ PirepStatus::label($pirep->status) }}
|
Source | {{ PirepSource::label($pirep->source) }} |
Flight Type | {{ \App\Models\Enums\FlightType::label($pirep->flight_type) }} |
Filed Route | {{ $pirep->route }} |
Notes | {{ $pirep->notes }} |
Filed On | {{ show_datetime($pirep->created_at) }} |
Name | Value | @foreach($pirep->fields as $field)
---|---|
{{ $field->name }} | {{ $field->value }} |
Class | Count | @foreach($pirep->fares as $fare)
---|---|
{{ $fare->fare->name }} ({{ $fare->fare->code }}) | {{ $fare->count }} |
{{ show_datetime($log->created_at) }} | {{ $log->log }} |