diff --git a/resources/views/layouts/default/flights/simbrief_briefing.blade.php b/resources/views/layouts/default/flights/simbrief_briefing.blade.php index 28902ff4..82c6141e 100644 --- a/resources/views/layouts/default/flights/simbrief_briefing.blade.php +++ b/resources/views/layouts/default/flights/simbrief_briefing.blade.php @@ -141,8 +141,8 @@

Destination TAF

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

-
-

Alternate METAR

+
+

Alternate METAR

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

Alternate TAF

@@ -181,16 +181,21 @@
 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); + $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); + function secstohhmm($seconds) { + $seconds = round($seconds); + $hhmm = sprintf('%02d%02d', ($seconds/ 3600),($seconds/ 60 % 60)); + echo $hhmm ; + } @endphp -
+ @@ -207,24 +212,27 @@ - + - + -
+
-
+
- +
-
+
+