@extends('app') @section('title', __trans_choice('PIREP', 1).' '.$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
{{ __('Status') }} |
{{ 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 }} |