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

{{ $flight->ident }}

@if($flight->alt_airport_id) @endif
Departure {{ $flight->dpt_airport->full_name }} @ {{ $flight->dpt_time }}
Arrival {{ $flight->arr_airport->full_name }} @ {{ $flight->arr_time }}
Alternate Airport {{ $flight->alt_airport->full_name }}
Route {{ $flight->route }}
Notes {{ $flight->notes }}
{{$flight->dpt_airport_id}} METAR
{{ Widget::Weather([ 'icao' => $flight->dpt_airport_id, ]) }}
{{$flight->arr_airport_id}} METAR
{{ Widget::Weather([ 'icao' => $flight->arr_airport_id, ]) }}
@include('flights.map') @endsection