@extends('app') @section('title', 'Briefing') @section('content')

{{ $simbrief->xml->general->icao_airline }}{{ $simbrief->xml->general->flight_number }} : {{ $simbrief->xml->origin->icao_code }} to {{ $simbrief->xml->destination->icao_code }}

@if (empty($simbrief->pirep_id)) Prefile PIREP @endif
Generate New OFP
 Dispatch Information

Flight

{{ $simbrief->xml->general->icao_airline }}{{ $simbrief->xml->general->flight_number }}

Departure

{{ $simbrief->xml->origin->icao_code }}@if(!empty($simbrief->xml->origin->plan_rwy)) /{{ $simbrief->xml->origin->plan_rwy }} @endif

Arrival

{{ $simbrief->xml->destination->icao_code }}@if(!empty($simbrief->xml->destination->plan_rwy)) /{{ $simbrief->xml->destination->plan_rwy }} @endif


Aircraft

{{ $simbrief->xml->aircraft->name }}

Est. Enroute Time

@minutestotime($simbrief->xml->times->est_time_enroute / 60)

Cruise Altitude

{{ $simbrief->xml->general->initial_altitude }}


@if (!empty($simbrief->xml->general->dx_rmk))

Dispatcher Remarks

{{ $simbrief->xml->general->dx_rmk }}

@endif @if (!empty($simbrief->xml->general->sys_rmk))

System Remarks

{{ $simbrief->xml->general->sys_rmk }}

@endif
 Flight Plan

{!! str_replace("\n", "
", $simbrief->xml->atc->flightplan_text) !!}

 Weather

Departure METAR

{{ $simbrief->xml->weather->orig_metar }}

Departure TAF

{{ $simbrief->xml->weather->orig_taf }}


Destination METAR

{{ $simbrief->xml->weather->dest_metar }}

Destination TAF

{{ $simbrief->xml->weather->dest_taf }}


Alternate METAR

{{ $simbrief->xml->weather->altn_metar }}

Alternate TAF

{{ $simbrief->xml->weather->altn_taf }}

 Download Flight Plan

 Prefile ATC Flight Plan
 OFP
{!! $simbrief->xml->text->plan_html !!}
 Flight Maps
@foreach($simbrief->images->chunk(2) as $images)
@foreach($images as $image)

{{ $image['name'] }} {{ $image['name'] }}

@endforeach
@endforeach
@if (empty($simbrief->pirep_id)) Prefile PIREP @endif
@endsection @section('scripts') @endsection