@extends('app') @section('title', trans_choice('common.flight', 1).' '.$flight->ident) @section('content')

{{ $flight->ident }}

@if($flight->alt_airport_id) @endif @if(filled($flight->notes)) @endif
@lang('common.departure') {{ $flight->dpt_airport->name }} ({{$flight->dpt_airport->icao}}) @ {{ $flight->dpt_time }}
@lang('common.arrival') {{ $flight->arr_airport->name }} ({{$flight->arr_airport->icao}}) @ {{ $flight->arr_time }}
@lang('flights.alternateairport') {{ $flight->alt_airport->name }} ({{$flight->alt_airport->icao}})
@lang('flights.route') {{ $flight->route }}
{{ trans_choice('common.note', 2) }} {{ $flight->notes }}
@include('flights.map')
{{$flight->dpt_airport_id}} @lang('common.metar')
{{ Widget::Weather([ 'icao' => $flight->dpt_airport_id, ]) }}
{{$flight->arr_airport_id}} @lang('common.metar')
{{ Widget::Weather([ 'icao' => $flight->arr_airport_id, ]) }} @if ($flight->alt_airport_id)
{{$flight->alt_airport_id}} @lang('common.metar')
{{ Widget::Weather([ 'icao' => $flight->alt_airport_id, ]) }} @endif
@endsection