@extends('app') @section('title', trans_choice('common.pirep', 1).' '.$pirep->ident) @section('content')
{{ $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
@lang('common.state') |
{{ PirepState::label($pirep->state) }}
|
@lang('common.status') |
{{ PirepStatus::label($pirep->status) }}
|
@lang('pireps.source') | {{ PirepSource::label($pirep->source) }} |
@lang('flights.flighttype') | {{ \App\Models\Enums\FlightType::label($pirep->flight_type) }} |
@lang('pireps.filedroute') | {{ $pirep->route }} |
{{ trans_choice('common.note', 2) }} | {{ $pirep->notes }} |
@lang('pireps.filedon') | {{ show_datetime($pirep->created_at) }} |
@lang('common.name') | @lang('common.value') | @foreach($pirep->fields as $field)
---|---|
{{ $field->name }} | {{ $field->value }} |
@lang('pireps.class') | @lang('pireps.count') | @foreach($pirep->fares as $fare)
---|---|
{{ $fare->fare->name }} ({{ $fare->fare->code }}) | {{ $fare->count }} |
{{ show_datetime($log->created_at) }} | {{ $log->log }} |