Add baggage weight to acdata (#1464)

Follow up for improved SimBrief API, sending separate pax and bag weights is possible now.

Core v7 already had them separated ;)

Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
B.Fatih KOZ
2022-08-15 11:32:52 -04:00
committed by GitHub
co-authored by Nabeel S
parent ba5b4e23c7
commit 0e1b55c6d7
@@ -127,7 +127,7 @@
</div> </div>
{{-- Prepare Form Fields For SimBrief --}} {{-- Prepare Form Fields For SimBrief --}}
<input type="hidden" name="acdata" value="{'paxwgt':{{ round($pax_weight + $bag_weight) }}}"> <input type="hidden" name="acdata" value="{'paxwgt':{{ round($pax_weight) }}, 'bagwgt': {{ round($bag_weight) }}}">
@if($tpaxfig) @if($tpaxfig)
<input type="hidden" name="pax" value="{{ $tpaxfig }}"> <input type="hidden" name="pax" value="{{ $tpaxfig }}">
@elseif(!$tpaxfig && $tcargoload) @elseif(!$tpaxfig && $tcargoload)