2018-03-12 07:00:42 +08:00
|
|
|
@extends('app')
|
2017-12-21 09:12:39 +08:00
|
|
|
@section('title', 'Flight '.$flight->ident)
|
2017-08-03 04:12:26 +08:00
|
|
|
|
|
|
|
@section('content')
|
2017-12-20 05:19:06 +08:00
|
|
|
<div class="row">
|
2017-12-21 09:12:39 +08:00
|
|
|
<div class="col-md-12">
|
2018-03-21 00:28:06 +08:00
|
|
|
<h2 class="description">{{ $flight->ident }} - {{ $flight->dpt_airport->full_name }} to {{ $flight->arr_airport->full_name }}</h2>
|
2017-12-21 09:12:39 +08:00
|
|
|
</div>
|
2017-12-20 05:19:06 +08:00
|
|
|
</div>
|
2017-08-03 04:12:26 +08:00
|
|
|
|
2017-12-21 09:12:39 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<td>Departure</td>
|
2018-03-13 06:58:12 +08:00
|
|
|
<td>{{ $flight->dpt_airport->icao }} @ {{ $flight->dpt_time }}</td>
|
2017-12-21 09:12:39 +08:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Arrival</td>
|
2018-03-13 06:58:12 +08:00
|
|
|
<td>{{ $flight->arr_airport->icao }} @ {{ $flight->arr_time }}</td>
|
2017-12-21 09:12:39 +08:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Route Code/Leg:</td>
|
2018-03-13 06:58:12 +08:00
|
|
|
<td>{{ $flight->route_code ?: '-' }}/{{ $flight->route_leg ?: '-' }}</td>
|
2017-12-21 09:12:39 +08:00
|
|
|
</tr>
|
2017-08-03 04:12:26 +08:00
|
|
|
|
2017-12-21 09:12:39 +08:00
|
|
|
<tr>
|
|
|
|
<td>Alternate Airport</td>
|
|
|
|
<td>
|
|
|
|
@if($flight->alt_airport_id)
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ $flight->alt_airport->full_name }}
|
2017-12-21 09:12:39 +08:00
|
|
|
@else
|
|
|
|
-
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Route</td>
|
2018-03-13 06:58:12 +08:00
|
|
|
<td>{{ $flight->route }}</td>
|
2017-12-21 09:12:39 +08:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td>Notes</td>
|
2018-03-13 06:58:12 +08:00
|
|
|
<td>{{ $flight->notes }}</td>
|
2017-12-21 09:12:39 +08:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-03-12 07:00:42 +08:00
|
|
|
@include("flights.map")
|
2017-08-03 04:12:26 +08:00
|
|
|
@endsection
|