@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
 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 }}

Enroute Time

@minutestotime($simbrief->xml->times->sched_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 }}


Arrival METAR

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

 Download 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