@if (isset($receivedMessages[$type])) @php $psnNos = count($receivedMessages[$type]["pl"]) @endphp @php $psnNos += count($receivedMessages[$type]["plInf"]) @endphp
@foreach($receivedMessages[$type]["pl_data"] as $each)
@include("flight-tracker.layouts.reparse-message", ["type" => $type, "id" => $each["id"]])
{{ $each["message"] }}
@endforeach
@lang("content.inbound") @lang("content.outbound") @lang("content.inbound")/@lang("content.outbound") @lang("content.infant") @lang("content.extra_baggage")
{{----}} {{----}} {{----}} {{----}} @php $last_seq_no = 0 @endphp @php $xbag_icon = '' @endphp @php $i = 0 @endphp @foreach($receivedMessages[$type]["pl"] as $each) @php $icons = "" @endphp @if ($each["seq_no"]) @if ($last_seq_no + 1 == $each["seq_no"]) @php $td_class = "num_conseq" @endphp @else @php $td_class = "" @endphp @endif @php $last_seq_no = $each["seq_no"] @endphp @else @php $td_class = "" @endphp @endif @if ($each["outbound"] && $each["inbound"]) @php $tr_class = 'outbound-inbound' @endphp @elseif ($each["outbound"]) @php $tr_class = 'outbound' @endphp @elseif ($each["inbound"]) @php $tr_class = 'inbound' @endphp @else @php $tr_class = "" @endphp @endif @if ($each["xbag_wt"]) @php $icons .= $xbag_icon @endphp @endif @php $ticket_number = ($each["ticket_number"] ? $each["ticket_number"] : '') @endphp @if (isset($each["inf"])) @foreach($each["inf"] as $j =>$inf) @php $ticket_number = $inf["ticket_number"] ? $inf["ticket_number"] : '' @endphp @endforeach @endif @endforeach
No SEQ @lang("content.first_name") @lang("content.last_name") G @lang("content.seat") @lang("content.GRP") @lang("content.ticket_number") CPN PNR FQTVCabinBag(pcs)Bag(wt)DOB
{{ ($i + 1) }} {{ ($each["seq_no"] ? $each["seq_no"] : "-") }}
{!! $icons !!}
{{ $each["first_name"] }} {{ $each["last_name"] }} {!! ($each["gender"] ? getGenderAbbr($each["gender"]) : '') !!} {{ ($each["seat_number"] ? $each["seat_number"] : '') }} {{ ($each["group_tcp"] ? $each["group_tcp"] : '') }} {{ ($ticket_number ? $ticket_number : "N/A") }} {{ ($each["coupon"] ? $each["coupon"] : '') }} {{ ($each["pnr"] ? $each["pnr"] : '') }} {{ ($each["ff_airline"] ? $each["ff_airline"] : "") . ($each["ff_no"] ? $each["ff_no"] : "") }}
INF - {{ $inf["last_name"] }} {{ $inf["first_name"] }} {{ ($inf["seat_number"] ? $inf["seat_number"] : '') }} {{ ($inf["group_tcp"] ? $inf["group_tcp"] : '') }} {{ ($ticket_number ? $ticket_number : "N/A") }} {{ ($inf["coupon"] ? $inf["coupon"] : '') }} {{ ($inf["pnr"] ? $inf["pnr"] : '') }}
@foreach($receivedMessages[$type]["plDetails"] as $i =>$each) @php $flag = isset($each["resident_country"]) ? "flag flag-" . strtolower($each["resident_country"]) : null @endphp @php $tags = explode(";", $each["tag_number"]) @endphp @endforeach
No @lang("content.first_name") @lang("content.last_name") @lang("content.resident") @lang("content.baggage")
@lang("content.country") @lang("content.address") PCS @lang("content.weight") @lang("content.tag_number")
{{ ($i + 1) }} {{ $each["first_name"] }} {{ $each["last_name"] }} @if($flag) {{ $each["resident_country"] ? $each["resident_country"] : ""}} @endif {{ $each["address"] }} {{ $each["baggage_pcs"] }} {{ $each["baggage_weight"] }} @if (count($tags)) @endif
@foreach($receivedMessages[$type]["plInbound"] as $i =>$each) @php $flight_number = $each["inbound"]["airline"] @endphp @php $flight_number .= $each["inbound"]["flight_number"] @endphp @endforeach
No @lang("content.first_name") @lang("content.last_name") @lang("content.flight_number") RBD @lang("content.arrival") @lang("content.origin")
{{ ($i + 1) }} {{ $each["first_name"] }} {{ $each["last_name"] }} {{ $flight_number }} {{ ($each["inbound"]["rbd"] ? $each["inbound"]["rbd"] : '-') }} {{ ($each["inbound"]["arrival_date"] ? $each["inbound"]["arrival_date"] : '-') }} {{ ($each["inbound"]['origin'] ? $each["inbound"]["origin"] : '-') }}
@foreach($receivedMessages[$type]["plOutbound"] as $i =>$each) @php $flight_number = $each["outbound"]["airline"] @endphp @php $flight_number .= $each["outbound"]["flight_number"] @endphp @endforeach
No @lang("content.passenger") @lang("content.flight_details") PTM @lang("content.data") @lang("content.baggage")
@lang("content.first_name") @lang("content.last_name") @lang("content.flight_number") RBD @lang("content.departure") @lang("content.destination") @lang("content.other_info") PAX PCS WT
{{ ($i + 1) }} {{ $each["first_name"] }} {{ $each["last_name"] }} {{ $flight_number }} {{ ($each["outbound"]["rbd"] ? $each["outbound"]["rbd"] : '-') }} {{ ($each["outbound"]["departure_date"] ? $each["outbound"]["departure_date"] : '-') }} {{ ($each["outbound"]['destination'] ? $each["outbound"]["destination"] : '-') }} {{ ($each["ptm_name_str"] ? $each["ptm_name_str"] : "") }} {{ ($each["ptm_pax"] ? $each["ptm_pax"] : "") }} {{ ($each["baggage_pcs"] ? $each["baggage_pcs"] : "") }} {{ ($each["baggage_weight"] ? $each["baggage_weight"] : "" ) }}
@foreach($receivedMessages[$type]["plXBag"] as $i =>$each) @php $weight = "" @endphp @if ($each["xbag_info"]) @php $weight .= $each["xbag_info"][0] ." " @endphp @endif @if ($each["xbag_wt"]) @php $weight .= $each["xbag_wt"] ."KG " @endphp @endif @if ($each["xbag_info"] && count($each["xbag_info"]) >1) @php $weight .= $each["xbag_info"][1] @endphp @endif @endforeach
No @lang("content.first_name") @lang("content.last_name") @lang("content.weight")
{{ ($i + 1) }} {{ $each["first_name"] }} {{ $each["last_name"] }} {{ ($each["xbag_qty"] ? ($each["xbag_qty"] ."BAGS ") : "") . $weight }}
@if ($airlineModule)
@foreach($receivedMessages[$type]["plDocs"] as $i =>$each) @php $flag = isset($each["passport_country"]) ? "flag flag-" . strtolower($each["passport_country"]) : null @endphp @endforeach
No @lang("content.first_name") @lang("content.last_name") @lang("content.gender") @lang("content.dob") @lang("content.passport_no") @lang("content.country_of_issue") @lang("content.dex")
{{ $i + 1 }} {{$each["first_name"]}} {{$each["last_name"]}} {!! $each["gender"] ? getGenderAbbr($each["gender"]) : '' !!} {{$each["dob"]}} {{$each["passport_num"]}} @if($flag) {{ $each["passport_country"] ? $each["passport_country"] : ""}} @endif {{ $each["passport_dex"] ? $each["passport_dex"] : "" }}
@endif
@endif