From 7379e93c4642d4e79fc93ade83ba0ffce42a8705 Mon Sep 17 00:00:00 2001 From: "B.Fatih KOZ" <74361521+FatihKoz@users.noreply.github.com> Date: Fri, 4 Dec 2020 19:20:12 +0300 Subject: [PATCH] Update simbrief_briefing.blade.php (#944) 1. Added ATC Prefile options for IVAO and VATSIM 2. Added TAF reports for Orig, Dest and Altn airports. (Technically TAF reports are required for flights more than 1 hour, so we need to see them on the briefing page too) 3. Adjusted the height of OFP division to match the page with the WX section changes --- .../flights/simbrief_briefing.blade.php | 81 ++++++++++++++++--- 1 file changed, 70 insertions(+), 11 deletions(-) diff --git a/resources/views/layouts/default/flights/simbrief_briefing.blade.php b/resources/views/layouts/default/flights/simbrief_briefing.blade.php index bd9f7fb1..28902ff4 100644 --- a/resources/views/layouts/default/flights/simbrief_briefing.blade.php +++ b/resources/views/layouts/default/flights/simbrief_briefing.blade.php @@ -124,22 +124,29 @@
-
-  Weather -
+
 Weather

Departure METAR

-

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

+

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

+
+

Departure TAF

+

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

-
- -

Arrival METAR

-

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

+

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

@@ -169,12 +176,64 @@
+ +
+
 Prefile ATC Flight Plan
+
+
+
+ @php + $str = $simbrief->xml->aircraft->equip ; + $wc = stripos($str,"-"); + $tr = stripos($str,"/"); + $wakecat = substr($str,0,$wc); + $equipment = substr($str,$wc+1,$tr-2); + $transponder = substr($str,$tr+1); + @endphp +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + + + +
+
+
+
+
 OFP
-
+
{!! $simbrief->xml->text->plan_html !!}