| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/application/views/scripts/flight-new/ |
Upload File : |
<link rel="stylesheet" href="<?php echo $this->baseUrl('public/assets/css/plugins/summernote.css'); ?>">
<style>
.textdelete {
margin: 2px 0 0 0px;
font-size: 21px;
text-align: center;
color: #204566;
cursor: pointer;
}
.modalloader {
position: fixed;
z-index: 999;
height: 100%;
width: 100%;
top: 0;
left: 0;
background-color: #000;
filter: alpha(opacity=60);
opacity: 0.6;
-moz-opacity: 0.8;
}
.center {
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 52px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.progress {
display: block;
text-align: center;
width: 0;
height: 3px;
background: red;
transition: width .3s;
}
.stick {
margin-top: 0 !important;
position: fixed;
top: 0;
z-index: 99;
width: 91%;
border-radius: 0 0 0.5em 0.5em;
/* border-bottom: 1px solid #F9F9F9;*/
}
html,
body {
overscroll-behavior-y: contain;
}
.commision_rate {
color: #a2a2a2 !important;
font-size: 13px !important;
}
.text-black {
color: #a2a2a2 !important;
}
.view_deatils_wrapper .farerulestab li a {
background-color: #8d8d8d !important;
border: 1px solid #dddddd !important;
padding: 7px 8px 7px !important;
color: #fff;
}
.view_deatils_wrapper .farerulestab li a:hover {
color: #fff;
}
.view_deatils_wrapper .farerulestab li.active a {
background: #fbfbfb !important;
color: #000;
position: relative;
border-bottom: 2px solid #f8693e !important;
}
.view_deatils_wrapper .farerulestab li.active a::before {
content: '';
}
.view_deatils_wrapper .farerulestab li.active a::after {
content: '';
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 0px solid red;
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
bottom: 0;
}
.view_deatils_wrapper .farerulestab li.active a:hover,
.view_deatils_wrapper .farerulestab li.active a:focus {
background: #fbfbfb !important;
color: #000;
}
a.addairline, a.addairmore {
font-size: 25px;
color: #204566;
text-decoration: none;
font-weight: 600;
margin: 0;
/*display: block;*/
text-align: center;
}
.col-md-1-5 .form-control{
padding: 6px 4px;
}
.border-2{
border: 2px solid #ddd !important;
}
</style>
<?php
$baseUrl = $this->baseUrl;
$GetWhatsappUrl = Zend_Controller_Action_HelperBroker::getStaticHelper('GetWhatsappUrl')->GetWhatsappUrl();
$objCurrency = new Travel_Model_TblCurrency();
$arrCurrencyTypes = $objCurrency->getCurrencyTypes();
$getActiveSenderEmailIdArr = $this->getActiveSenderEmailIdArr;
$CCMailArray = $getActiveSenderEmailId = array();
foreach ($getActiveSenderEmailIdArr as $senderEmailId) {
if ($senderEmailId['IsCCMail'] == 1) {
$CCMailArray[] = $senderEmailId['SenderEmailID'];
} else {
$getActiveSenderEmailId[] = $senderEmailId;
}
}
$CCMailval = '';
if (!empty($CCMailArray)) {
$CCMailval = implode(',', $CCMailArray);
}
$SenderEmailSysId = $this->SenderEmailSysId;
$sessionFlightSearchParams = $this->sessionFlightSearchParams;
$strDepatureDate = isset($sessionFlightSearchParams['strDepatureDate']) ? $sessionFlightSearchParams['strDepatureDate'] : date('d M Y');
$route = isset($sessionFlightSearchParams['route']) ? $sessionFlightSearchParams['route'] : 0;
$adults = isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? $sessionFlightSearchParams['adults'] : 0;
$child = isset($sessionFlightSearchParams['child']) && !empty($sessionFlightSearchParams['child']) ? $sessionFlightSearchParams['child'] : 0;
$infant = isset($sessionFlightSearchParams['infant']) && !empty($sessionFlightSearchParams['infant']) ? $sessionFlightSearchParams['infant'] : 0;
if($route == 3){
$sessionFlightSearchParams['return_dates'] = $sessionFlightSearchParams['departure_dates'];
}
// $departureDates = isset($sessionFlightSearchParams['departure_dates']) ? $sessionFlightSearchParams['departure_dates'] : date('d M Y');
// $returnDates = isset($sessionFlightSearchParams['return_dates']) ? $sessionFlightSearchParams['return_dates'] : date('d M Y');
// $arrDepartureDates = explode("/", $departureDates);
// $arrReturnDates = explode("/", $returnDates);
// $strDepatureDate = $arrDepartureDates[2] . "/" . $arrDepartureDates[1] . "/" . ($arrDepartureDates[0]);
// $strReturnDate = $arrReturnDates[2] . "/" . $arrReturnDates[1] . "/" . ($arrReturnDates[0]);
$mydevice = Zend_Controller_Action_HelperBroker::getStaticHelper('General')->getDevice();
$TaxLabelId = $_SESSION['sessionLogin_user']['agencyDetails']['TaxLabelId'];
if($TaxLabelId == 0){
$getTaxSettingDetail[] = array(
'DefaultDisplay' => 1,
'TaxPercentage' => 0,
'DefaultSelect' => 1,
'TaxName' => '0%',
);
}else{
$getTaxSettingDetail = $this->getTaxSettingDetail;
}
// echo "<pre>"; print_r($getTaxSettingDetail); die("filghttax");
$AgencyUser = new Zend_Session_Namespace('AgencyUser');
$IsShowSupplier = $AgencyUser->user->IsShowSupplier;
?>
<?php
// Very small pure PHP QR generator (Version 1 - URL text only)
// No library, no API, no composer
?>
<input type="hidden" id="sessionFlightSearchParams" value='<?= json_encode($this->sessionFlightSearchParams) ?>'>
<input type="hidden" id="SearchID" value='<?= ($this->SearchID) ?>'>
<input type="hidden" id="searchids" value='<?= ($this->searchids) ?>'>
<input type="hidden" id="TaxPercentage" value='<?= ($this->TaxPercentage) ?>'>
<!--Page main section start-->
<section ng-app="GTXHotels" id="min-wrapper" class="active">
<div id="main-content" ng-controller="<?php echo (isset($sessionFlightSearchParams['typeQuick']) && (trim($sessionFlightSearchParams['typeQuick']) == 'quick')) ? '' : 'FlightListingController'; ?>" <?php if ($mydevice == 'mobile') { ?>ng-style="{height: maincontainer + 'px'}" <?php } ?>>
<div class="container-fluid" id="divID">
<div class="row">
<div class="col-md-12">
<!--Top header start-->
<h3 class="ls-top-header">Flights</h3>
<!--Top header end -->
<!--Top breadcrumb start -->
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i></a></li>
<?php
//$sessionFlightSearchParams = new Zend_Session_Namespace('sessionFlightSearchParams');
// $sourceCityText = explode(',', $sessionFlightSearchParams['sourceCityText']);
// $destinationCityText = explode(',', $sessionFlightSearchParams['destinationCityText']);
$strRoute = $sessionFlightSearchParams['route'];
$interNationalSearch = trim($sessionFlightSearchParams['interNationalSearch']);
$typeQuick = isset($sessionFlightSearchParams['typeQuick']) ? trim($sessionFlightSearchParams['typeQuick']) : '';
if ($strRoute == '1') {
$strRouteText = 'One Way';
} else {
$strRouteText = 'Two Way';
}
//print_r($sessionFlightSearchParams);
?>
<li class="active">Buy</li>
<li class="active"><a href="javascrupt:void(0)">Flights</a></li>
<li class="active"><?php echo $strRouteText; ?></li>
<li>
<?php
if (isset($sessionFlightSearchParams['customerID']) && !empty($sessionFlightSearchParams['customerID'])) {
$LeadsecureCode = Zend_Controller_Action_HelperBroker::getStaticHelper('SecureCode')->secureCode(trim(base64_encode($sessionFlightSearchParams['customerID'])), 1);
?>
<strong>
<a href="<?php echo $this->baseUrl('/customer/customer-lead/id/' . base64_encode($sessionFlightSearchParams['customerID']) . '/code/' . $LeadsecureCode); ?>" style="color:#FF6600">
<?php echo ucfirst(stripslashes($sessionFlightSearchParams['customername'])); ?>
</a>
</strong>
<?php } ?>
</li>
</ol>
<!--Top breadcrumb start -->
</div>
</div>
<!-- Main Content Element Start-->
<div class="row">
<div class="col-md-12 fixedfilter_width2">
<div class="query_listing_bg3 align_margin_bottom_20 " style="margin-bottom: 15px;padding: 15px;">
<div class="divnone">
<div class="mobile_scrolling">
<!-- <label class="inlinebl orange small no-margin" style="padding-right:15px; font-size: 15px;"><span class="btn btn-danger btn-round2 btn-xs" style="cursor:default;float: left;margin: 0 6px 0 0;"><strong>1</strong></span> <strong>Flight Search</strong></label> -->
<label class="inlinebl orange small no-margin" style="padding-right:15px;font-size: 15px;"><span class="btn btn-warning btn-round2 btn-xs" style="cursor:default;float: left;margin: 0 6px 0 0;"><strong>1</strong></span> <strong>Flight Results</strong></label>
<label class="inlinebl small no-margin" style="padding-right:15px;font-size: 15px;"><span class="btn btn-primarygray btn-round2 btn-xs" style="cursor:default;float: left;margin: 0 6px 0 0;"><strong>2</strong></span> <strong>Passenger Details</strong></label>
<label class="inlinebl small no-margin" style="padding-right:15px;font-size: 15px;"><span class="btn btn-primarygray btn-round2 btn-xs" style="cursor:default;float: left;margin: 0 6px 0 0;"><strong>3</strong></span> <strong>Review Booking</strong></label>
<label class="inlinebl small no-margin" style="padding-right:15px;font-size: 15px;"><span class="btn btn-primarygray btn-round2 btn-xs" style="cursor:default;float: left;margin: 0 6px 0 0;"><strong>4</strong></span> <strong>Booking Confirmation</strong></label>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
<div class="divnone" style="margin: 15px 0 0;">
<div class="alert box_border box-border_mgt15" id="<?php if ($mydevice == 'mobile') { ?>divnonetop<?php } ?>">
<div class="row">
<div class="col-md-8 col-xs-7 padding_right_0">
<div class="show_text_left">
<?php if ($sessionFlightSearchParams['route'] == '3') { ?>
<?php
foreach ($sessionFlightSearchParams['sourceCityAirportCode'] as $k => $sc) {
$ssss = $sessionFlightSearchParams['destinationCityAirportCode'][$k];
echo '<strong>' . $sc . ' <i class="fa fa-long-arrow-right"></i> ' . $ssss . '</strong> - ';
}
?>
<br />
<?php
foreach ($sessionFlightSearchParams['sourceCityAirportCode'] as $k => $sc) {
$ssss = $sessionFlightSearchParams['destinationCityAirportCode'][$k];
$departure_dates = (($sessionFlightSearchParams['departure_dates']) != '') ? DateTime::createFromFormat('d/m/Y', $sessionFlightSearchParams['departure_dates'][$k]) : '';
echo (isset($departure_dates) && ($departure_dates) != '') ? $departure_dates->format('d-M-y') . ' - ' : '';
}
?>
|
<?php echo $sessionFlightSearchParams['adults'] ?> adult
<?php if (!empty($sessionFlightSearchParams['child'])) { ?>
<?php echo $sessionFlightSearchParams['child'] ?> child
<?php } ?>
<?php if (!empty($sessionFlightSearchParams['infant'])) { ?>
<?php echo $sessionFlightSearchParams['infant'] ?> infant
<?php } ?>
<?php } else { ?>
<strong><?php echo $sessionFlightSearchParams['sourceCityAirportCode']; ?></strong>
<?php if ($sessionFlightSearchParams['route'] == '2') { ?>
⇄
<?php } else { ?>
<i class="fa fa-long-arrow-right"></i>
<?php } ?>
<strong><?php echo $sessionFlightSearchParams['destinationCityAirportCode']; ?></strong><br />
<span class="graytxt small">
<?php
$departure_dates = (trim($sessionFlightSearchParams['departure_dates']) != '') ? DateTime::createFromFormat('d/m/Y', $sessionFlightSearchParams['departure_dates']) : '';
$return_dates = (trim($sessionFlightSearchParams['return_dates']) != '') ? DateTime::createFromFormat('d/m/Y', $sessionFlightSearchParams['return_dates']) : '';
echo (isset($departure_dates) && ($departure_dates) != '') ? $departure_dates->format('d-M-y') : '';
if ($sessionFlightSearchParams['route'] == '2') {
echo ' ⇄ ';
echo (isset($return_dates) && ($return_dates) != '') ? $return_dates->format('d-M-y') : '';
}
//echo $sessionFlightSearchParams['departure_dates']
?> |
<?php echo $sessionFlightSearchParams['adults'] ?> adult
<?php if (!empty($sessionFlightSearchParams['child'])) { ?>
<?php echo $sessionFlightSearchParams['child'] ?> child
<?php } ?>
<?php if (!empty($sessionFlightSearchParams['infant'])) { ?>
<?php echo $sessionFlightSearchParams['infant'] ?> infant
<?php } ?>
</span>
<?php } ?>
</div>
<div class="show_text_right">
<div class="showingresult allairlinetitle" style="margin: 0px 0 4px; display:none"><span class="fa fa-plane"></span> Showing {{filtered.length}} of {{flightlistOutbound.length}} flights</div>
</div>
</div>
<div class="col-md-4 col-xs-5 text-right padding_right_5"><button class="btn btn-primarygray btn-sm" id="modsrch"><span class="showdesk"><strong><i class="fa fa-plus"></i> Modify Search</strong></span><span class="hidemobile1"><i class="fa fa-search" aria-hidden="true"></i></span> </button>
<div class="share_wrapper_box">
<a class="viewcommission" data="1"><i class="fa fa-eye" aria-hidden="true"></i> View CM</a>
<div class="clearfix"></div>
</div>
</div>
<div class="col-md-12" style="display:none; margin-top:15px;" id="modsrchdetail">
<?php
if (isset($sessionFlightSearchParams['editLeadId']) && !empty($sessionFlightSearchParams['editLeadId'])) {
$fromcustomer = 'YES';
} else {
$fromcustomer = '';
}
echo $this->partial('flight/edit-search-form.phtml', array('fromcustomer' => '', 'customerId' => $sessionFlightSearchParams['customerID'], 'leadID' => $sessionFlightSearchParams['editLeadId'], 'getActiveStaff' => $this->getActiveStaff, 'getleadSource' => $this->getleadSource, 'lead_source' => $sessionFlightSearchParams['lead_source']));
?>
<div class="panel-body" id="onWay-tab2" style="display:none;">
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<?php if ($sessionFlightSearchParams['route'] == '3') { ?>
<?php
echo $this->partial('flight-new/multicity-filter.phtml', array('sessionFlightSearchParams' => $sessionFlightSearchParams));
?>
<?php } else { ?>
<div class="">
<div class="filterByContainer mobile-hide" style="margin-bottom: 0;background: #f0f3f7;" id="fixedfilter">
<button type="button" class="close" id="flightfilterclose" title="Close"><span aria-hidden="true">×</span></button>
<div class="filterByContainerIn">
<div class="filterbyTxt"><span class="mobile-hide"><span class="glyphicon glyphicon-filter" style="color:#31708f; font-size:16px; top:3px;"></span> Filter</span> <a href="javascript:void(0);" class=" toggle_commision_link1 refresh_text refresh_textsingle"><i class="fa fa-refresh" aria-hidden="true"></i></a></div>
<div class="search-box divnone">
<form name="filter-form " id="filter-form">
<ul class="filter-box">
<li class="dropdown" ng-repeat="filter in Filters">
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
{{ filter.name}}
</a>
<div class="dropdown-menu top-dropDown-1 keep-open">
<label class="checkbox_popup flightfiltercheckbox_popup" ng-repeat="option in filter.options">
<input class="filterByPrice filter-price" type="checkbox" ng-model="option.IsIncluded" ng-checked="option.IsIncluded">
{{ option.value}} ({{ option.count}})
<span class="checkmark"></span>
</label>
</div>
</li>
</ul>
</form>
</div>
<?php if ($strRoute == 2 && $interNationalSearch == '') { ?>
<div class="roundtrip_filterwrap">
<div class="filterbyTxt"><span class="mobile-hide"><span class="glyphicon glyphicon-filter" style="color:#31708f; font-size:16px; top:3px;"></span> Filter</span> <a href="javascript:void(0);" class="toggle_commision_link1 refresh_text refresh_textround"><i class="fa fa-refresh" aria-hidden="true"></i></a></div>
<div class="search-box divnone">
<form name="filter-form" id="filter-form">
<ul class="filter-box filter-box-round">
<li class="dropdown" ng-repeat="filter in FiltersInb">
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
{{ filter.name}}
</a>
<div class="dropdown-menu top-dropDown-1 keep-open">
<label class="checkbox_popup flightfiltercheckbox_popup" ng-repeat="option in filter.options">
<input class="filterByPrice filter-price" type="checkbox" ng-model="option.IsIncluded" ng-checked="option.IsIncluded">
{{ option.value}} ({{ option.count}})
<span class="checkmark"></span>
</label>
</div>
</li>
<!-- <li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
Price Per Head
</a>
<div class="dropdown-menu top-dropDown-1 keep-open">
<label class="checkbox_popup flightfiltercheckbox_popup" ng-repeat="key in FiltPrice">
<input class="filterByPrice filter-price-return" type="checkbox" value="{{key}}" ng-click="filterData();">
{{myData[key]}}
<span class="checkmark"></span>
</label>
<a href="javascript:void(0);" class="pull-right filterapply1 filterByPriceApply">Close</a>
</div>
</li> -->
</ul>
</form>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="search-box">
<ul>
<li class="dropdown" id="FILTER-INPROCESS" style="display:none; border-left: 0px solid #ededec;">
<div style="padding-left:20px; position: absolute;">
<img src="<?php echo $this->baseUrl('public/assets/images/ellipsis.gif'); ?>" />
</div>
</li>
</ul>
</div>
<div class="col-md-3 text-right pull-right">
<div class="share_wrapper_box" id="sharebox" style="display:none;margin: 6px 0 0;">
<!-- <a data-toggle="modal" data-target="#myModalwhatsappshare" class="whatsappshare"><i class="fa fa-whatsapp" aria-hidden="true"></i> Whatsapp</a> -->
<a class="booknow emailshare2" data-toggle="modal" ng-click="GetValue()" data-target="#myModalemail"><i class="fa fa-envelope-o" aria-hidden="true"></i> Share</a>
<!-- <a class="mobileshare" data-toggle="modal" data-target="#myModalmobileshare"><i class="fa fa-mobile" aria-hidden="true"></i> SMS</a> -->
<!-- <a class="viewcommission" data="1"><i class="fa fa-eye" aria-hidden="true"></i> View CM</a> -->
<div class="clearfix"></div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<?php } ?>
<div style="padding-top: 10px;text-align: center; width:100%;" ng-if="loadingmore">
<img src="<?php echo $this->baseUrl('public/images/windows-xp-loading.gif'); ?>" />
</div>
<div class="modalloader" style="display: none"></div>
<div class="col-md-12" id="progress-bar" style="display:none;">
<div class="progress progress-striped active" style="height:20px; border-radius:10px;">
<!-- aria-valuetransitiongoal="95" aria-valuenow="95" -->
<div id="progress-bar" class="progress-bar progress-bar-warning six-sec-ease-in-out" style="width: 100%;">
<span id="percent_complete"> </span>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
<!--end of query_listing_bg3-->
</div> <!-- col-md-12-->
<div class="clearfix"></div>
<div class="col-md-9">
<div id="sendemailblock">
<?php //echo $this->partial('flight/showpopup.phtml');
?>
</div>
<script src="<?php echo $this->baseUrl('public/assets/js/jquery.validate.min.js'); ?>"></script>
<div class="modal fade myModa1Emailpreview" id="myModa1Emailpreview" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content"></div>
</div>
</div>
<div class="col-md-12 no-padding mobile_flight_wdth100">
<div class="query_listing_bg3 mb_padding">
<div class="padres">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="flight_showing" style="padding: 0 0 10px 0px;">
<div class="col-lg-6 col-sm-6 col-md-6 col-xs-12 no-padding" ng-if="loadingFlight == false">
</div>
<div class="col-lg-6 col-sm-6 col-md-6 col-xs-12">
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-content">
<div class="row rowmgt_align">
<?php if ($interNationalSearch == 1 && $strRoute == 2) { ?>
<div ng-hide="loadingFlight == false">
<?php echo $this->partial('flight/loader-newflight.phtml', ['sessionFlightSearchParams' => $sessionFlightSearchParams]); ?>
</div>
<?php echo $this->partial('flight-new/international-round-result.phtml', array('sessionFlightSearchParams' => $sessionFlightSearchParams, 'baseUrl' => $baseUrl));
?>
<?php } elseif ($strRoute == 2 && $interNationalSearch == '') { ?>
<div ng-hide="loadingFlight == false">
<?php echo $this->partial('flight/loader-newflight.phtml', ['sessionFlightSearchParams' => $sessionFlightSearchParams]); ?>
</div>
<?php echo $this->partial('flight-new/round-trip-result.phtml', array('sessionFlightSearchParams' => $sessionFlightSearchParams, 'baseUrl' => $baseUrl)); ?>
<?php } elseif ($strRoute == 3) { ?>
<div class="loderFlightHtml" ng-hide="loadingFlight == false">
<?php echo $this->partial('flight/loader-newflight.phtml', ['sessionFlightSearchParams' => $sessionFlightSearchParams]); ?>
</div>
<?php echo $this->partial('flight-new/multicity-result.phtml', array('sessionFlightSearchParams' => $sessionFlightSearchParams, 'baseUrl' => $baseUrl)); ?>
<?php } else { ?>
<div class="clearfix"></div>
<div class="sortbycontainer sroneway" id="sortingfixed">
<button type="button" class="close" id="sortfilterclose" title="Close"><span aria-hidden="true">×</span></button>
<span class="col-md-1">Sort By</span>
<span class="col-md-3 sortprice sortingOne" ng-click="sortBy('AirlineName')">Airline <i class="fa fa-long-arrow-down"></i></span>
<span class="col-md-2 sortprice sortingOne" ng-click="sortBy('FromUTCTime')">Departure <i class="fa fa-long-arrow-down"></i></span>
<span class="col-md-2 sortprice sortingOne" ng-click="sortBy('FlyingMinutes')">Duration <i class="fa fa-long-arrow-down"></i></span>
<span class="col-md-2 sortprice sortingOne" ng-click="sortBy('ToUTCTime')">Arrival <i class="fa fa-long-arrow-down"></i></span>
<span class="col-md-2 sortprice sortpriceactive sortingOne" ng-click="sortBy('PublishedFare')">Price <i class="fa fa-long-arrow-down"></i></span>
<div class="clearfix"></div>
</div>
<div class="loadMoreNew" ng-click="loadMoreNew()" style="display: none;">Load more</div>
<div class="clearfix"></div>
<div class="loderFlightHtml" ng-if="(filtered | filter:value:true).length == 0 && loadingmore == true">
<?php echo $this->partial('flight/loader-newflight.phtml', ['sessionFlightSearchParams' => $sessionFlightSearchParams]); ?>
</div>
<div class="flight_search_list_international" ng-if="(filtered | filter:value:true).length == 0 && loadingmore == false">
<h6 class="nomargin_top" style="text-align: center;font-size:18px;">No Result Found</h6>
</div>
<div ng-if="loadingFlight == false" ng-init="filterSelectedFL(flightlistOutbound)"></div>
<div class="flight_search_list_international " ng-if="loadingFlight == false" ng-repeat="(index, item) in filtered = (flightlistOutbound | dynamicFilter:Filters:this | orderBy:PublishedFare:reverse | limitTo:limit) track by $index">
<div class="international_box col-md-4 col-sm-6 col-xs-6">
<img src="{{item.logo}}" title="{{item.AirlineName}}" height="32" class="pull-left">
<span class="flightnme">{{item.AirlineName}} <br> {{item.FlightNumber}} {{item.FairRules[0].classOfBooking}}</span>
</div>
<div class="international_box col-md-2 col-sm-3 col-xs-3">
<strong class="font16px">{{item.DepartureTime}}</strong>
<span>{{item.SourceAirportCode}}</span>
</div>
<div class="international_box col-md-2 flightdur mobile_hide_section">
<div class="flight_duration">{{item.FlightDuration}}</div>
<div class="flight-duration-line"></div>
<div class="flight-duration-dot"></div>
<div class="flight-duration-dot1"></div>
<div class="flight_duration">{{item.StopCount}}</div>
</div>
<div class="international_box col-md-2 col-sm-3 col-xs-3">
<strong class="font16px">{{item.ArrivalTime}}</strong>
<span>{{item.DestAirportCode}}</span>
</div>
<div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 no-padding tblPrice">
<div class="multycity_wrapper multiwrapper-newcls ">
<div class="multiciy_leftside right_sidealign flight-dt-right-cls">
<a href="javascript:void(0);" ng-click="bookNow(item, item.FairRules[0])" class="booknow">Book Now</a>
</div>
<div class="multiciy_rightside left_sidealign flight-dt-left-cls">
<label class="comision_checkbox" for="shareid{{index}}0" ng-model="item.picked">
<input type="checkbox" value="{{ item.FairRules[0].PriceID}}" ng-click="Selected(item, item.FairRules[0])" class="email-checkbox Disabled_{{item.ICSourceSysId}}" ICS="{{item.ICSourceSysId}}" id="shareid{{index}}0">
<span class="checkmark selectarrow2 ICSourceSysId_{{item.ICSourceSysId}}"></span>
</label>
<label class="multicity_radio_button no-padding multicity_radio_width1 series1wdth">
<span class="commision_rate commision_rght_flt">
<span class="inr-text">{{item.FairRules[0].Currency}}</span>
{{item.FairRules[0].CommissionEarned + item.FairRules[0].FixedMarkUp + item.FairRules[0].TDSEarn| number:2}}
<sup class="text-black">({{item.FairRules[0].OfferedFare + item.FairRules[0].GSTOnMarkUp| number:2}})</sup>
</span>
<span class="price_text price_text_align price_text_singlealign"><span class="inr-text">{{item.FairRules[0].Currency}}</span> {{item.FairRules[0].PublishedFare| number:2}}</span>
<div class="flight_info flight_info_2">
<a href="javascript:void(0);" style="float:left;" ng-click="ViewMore(item, item.FairRules[0], 'SEARCH')" class="edit_multicity_icond"><img src="<?= $baseUrl ?>/public/images/grey_info.svg" alt="view details" /></a>
<span ng-show="item.FairRules[0].IsGSTRequired == true"><img src="<?= $baseUrl ?>/public/images/gst.svg" alt="GST Required" title="GST Required" /></span>
</div>
<!--end of flight_info-->
<span class="economy-text economy-text-aliignrgt"><span class="seats_available lightpink-text mobile_hide_section">Seats left: {{item.FairRules[0].SeatAvailable}}</span> {{item.FairRules[0].FareClass| capitalize}}, <span>{{item.FairRules[0].fareIdentifier| capitalize}}</span> <span class="green-text1">({{item.FairRules[0].classOfBooking}})</span> - <span class="published">{{item.FairRules[0].IsRefundableTxt}} </span> <span class="">{{item.supplier}} </span> <?php if ($typeQuick == 'SeriesFare') { ?><span style="color: #204566;">Dep. Date - {{item.FromUTCTime| date : "dd MMM yyyy"}} </span> <?php } ?> </span>
</label>
</div>
<div class="clearfix"></div>
<div class="show_multicity_wrapper show_multicity_wrapper{{index}}" style="display: none;">
<div class="multicity_button_wrapper" ng-repeat="(keys, prices) in item.FairRules" ng-show="keys > 0">
<div class="multiciy_leftside right_sidealign flight-dt-right-cls">
<a href="javascript:void(0);" ng-click="bookNow(item, prices)" class="booknow">Book Now</a>
</div>
<div class="multiciy_rightside left_sidealign flight-dt-left-cls">
<label class="comision_checkbox" for="shareid{{index}}{{keys}}" ng-model="item.picked">
<input type="checkbox" value="{{ prices.PriceID}}" ng-click="Selected(item, prices)" class="email-checkbox Disabled_{{item.ICSourceSysId}}" id="shareid{{index}}{{keys}}">
<span class="checkmark selectarrow2 ICSourceSysId_{{item.ICSourceSysId}}"></span>
</label>
<label class="multicity_radio_button no-padding multicity_radio_width1 series1wdth">
<span class="commision_rate commision_rght_flt">
<span class="inr-text">{{prices.Currency}}</span>
{{prices.CommissionEarned + prices.FixedMarkUp + prices.TDSEarn| number:2}}
<sup class="text-black">({{prices.OfferedFare + prices.GSTOnMarkUp| number:2}})</sup>
</span>
<span class="price_text price_text_align price_text_singlealign"><span class="inr-text">{{prices.Currency}}</strong></span> {{prices.PublishedFare| number:2}}</span>
<div class="flight_info flight_info_2">
<a href="javascript:void(0);" style="float:left;" ng-click="ViewMore(item, prices, 'SEARCH')" class="edit_multicity_icond"><img src="<?= $baseUrl ?>/public/images/grey_info.svg" alt="SuperDMC" /></a>
<span ng-show="prices.IsGSTRequired == true"><img src="<?= $baseUrl ?>/public/images/gst.svg" alt="GST Required" title="GST Required" /></span>
</div>
<!--end of flight_info-->
<span class="economy-text economy-text-aliignrgt"><span class="seats_available lightpink-text mobile_hide_section">Seats left: {{prices.SeatAvailable}}</span> {{prices.FareClass| capitalize}}, <span>{{prices.fareIdentifier| capitalize}}</span> <span class="green-text1">({{prices.classOfBooking}})</span> - <span class="published">{{prices.IsRefundableTxt}} </span> <span class="">{{item.supplier}} </span> </span>
</label>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
</div>
<span ng-show="item.FairRules.length > 1" index="{{index}}" class="multicity_form_boxshow multicity_align_mobilecenter multicity_form_boxshow2"><i class="fa fa-chevron-circle-down" aria-hidden="true"></i></span>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
<div id="allairlines-scroll-loader" style="display:none; text-align: center; padding: 30px;">
<img src="<?php echo $this->baseUrl('public/assets/images/loader.gif'); ?>">
</div>
<div id="noMoreRecords" style="display:none; text-align: center; padding: 30px; color: red;">
No more records to display...
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3 proposalbox">
<button type="button" class="close setamap_btn1" id="poposalclose" title="Close"><span aria-hidden="true">×</span></button>
<div class="col-md-12 no-padding"> <a href="#" data-target="#myModa1flightdirect" data-toggle="modal" class="btn btn-primarygray col-md-12 cart-btn checkleadcustomer">Create a Custom Proposal</a> </div>
<?php if ($IsShowSupplier == 1) { ?>
<div class="col-md-12 no-padding"> <a class="btn btn-primarygray col-md-12 cart-btn" target="_blank" href="<?php echo $this->baseUrl('packagesearch/enquirysupplierpackage/tpid/' . base64_encode($sessionFlightSearchParams['editLeadId'])) ?>">Send enquiry to suppliers/ network</a> </div>
<?php } ?>
<div class="col-md-12 no-padding">
<a onclick="return operationalFlightForm();" class="btn btn-primarygray col-md-12 cart-btn createOperationFlightButton">Request Proposal</a>
</div>
</div>
</div>
</div>
<input type="hidden" id="selectedDataformail">
<input type="hidden" id="selectedDataformailFlightData">
<input type="hidden" id="IsInternational">
<input type="hidden" id="JourneyType">
<!-- Main Content Element End-->
<div class="modal fade" id="myModal_viewmore" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="view_deatils_wrapper">
<button type="button" class="close setamap_btn1" data-dismiss="modal" aria-label="Close" title="Close"><span aria-hidden="true">×</span></button>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#FlightDetails" class="FlightDetails__" aria-controls="home" role="tab" data-toggle="tab">Flight Details </a></li>
<li role="presentation"><a href="#FareSummary" aria-controls="profile" role="tab" data-toggle="tab" class="FareSummary" index="{{index}}" IsLCC="{{IsLCC}}">Fare Summary</a></li>
<li role="presentation"><a href="#FareRules" aria-controls="profile" role="tab" data-toggle="tab">Fare Rules</a></li>
<li role="presentation"><a href="#baggageinfo" aria-controls="profile" role="tab" data-toggle="tab">Baggage Info</a></li>
</ul>
<?php if ($interNationalSearch == 1 && $strRoute == 2) { ?>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane no-padding active" id="FlightDetails">
<div class="fair_details mytrip_fairdeatils_wrapper">
<div class="fair_details_title">
<div class="row">
<div class="col-lg-8 col-sm-8 col-md-8 col-xs-12">
<div class="destination_left_details mytip_deatilsalign">
<div class="destination_name mytip_deatilsname"> {{viewmore.origin.SourceAirportCode}} - {{viewmore.origin.DestAirportCode}}</div>
<p>{{viewmore.origin.StopCount}} | {{classss}}</p>
</div>
<div class="destination_right_details mytip_deatilsalign">
<div class="destination_name mytip_deatilsname"> {{viewmore.origin.DepartureDateTxt}}
</div>
<p> {{viewmore.origin.FlightDuration}} </p>
</div>
</div>
<div class="col-lg-4 col-sm-4 col-md-4 hidden-xs">
<div class="fare_information return_info fare_information_mytrip">
Onward
</div>
</div>
</div>
<!--end of row-->
</div>
<!--end of fair_details-->
<div class="clearfix"></div>
<div class="flight_search_list_details mytrip_flight_search_list_details" ng-repeat="(key, value) in viewmore.Segments" ng-if="value.isReturnSegment == false">
<div class="airport_timeinformation" ng-if="value.GroundTime > 0 && viewmore.ICSourceSysId == 3">{{value.LAYOVERDuration}} LAYOVER at {{value.LAYOVERCity}} Airport</div>
<div class="row row_padding">
<div class="col-sm-2 col-md-2 col-lg-2 col-xs-12 flight_padding_0">
<div class="fligt_logo">
<img src="{{value.filePath}}" title="{{value.AirlineName}}" height="20" />
<h5>{{value.AirlineName}}</h5>
<h6>{{value.SegFlightNumber}}</h6>
</div>
</div>
<!--end of col-sm-2 col-md-2 col-lg-2 col-xs-6-->
<div class="col-sm-9 col-md-9 col-lg-9 col-xs-12 flight_padding_0">
<div class="row">
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-6">
<div class="flight_details review_left">
<div class="flight_time">{{value.strDepartureDtTime}}</div>
<div class="flight_time2">{{value.originAirportCode}}</div>
<div class="flight_cityname mytrip_citname_textname">{{value.originCityName}},{{value.originCountryName}}</div>
<div class="flight_cityname2 mytrip_citname_text">Terminal : <span style="font-size:13px;">{{value.DepTerminal}}</span></div>
</div>
<!--end of flight_details-->
</div>
<!--end of col-lg-3 col-sm-3 col-md-3 col-xs-3-->
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-4 mobile_hide_section mytrip_alignleft">
<div class="theme-search-results-item-flight-section-path">
<div class="theme-search-results-item-flight-section-path-fly-time">
<p>{{value.FlightDuration}}</p>
</div>
<div class="theme-search-results-item-flight-section-path-line"></div>
<div class="theme-search-results-item-flight-section-path-line-start mytrip_linedot_start">
<div class="theme-search-results-item-flight-section-path-line-dot mytrip_linedot"></div>
</div>
<div class="theme-search-results-item-flight-section-path-line-end mytrip_linedot_start">
<div class="theme-search-results-item-flight-section-path-line-dot mytrip_linedot"></div>
</div>
</div>
</div>
<!--end of col-lg-6 col-sm-6 col-md-6 col-xs-6-->
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-6">
<div class="flight_details review_left">
<div class="flight_time">{{value.strArrivalDtTime}}</div>
<div class="flight_time2">{{value.destinationAirportCode}}</div>
<div class="flight_cityname mytrip_citname_textname">{{value.destinationCityName}},{{value.destinationCountryName}}</div>
<div class="flight_cityname2 mytrip_citname_text">Terminal : <span style="font-size:13px;">{{value.ArrTerminal}}</span></div>
</div>
<!--end of flight_details-->
</div>
<!--end of col-lg-3 col-sm-3 col-md-3 col-xs-3-->
</div>
<!--end of row-->
</div>
<!--end of col-sm-8 col-md-8 col-lg-8 col-xs-8-->
<div class="col-sm-1 col-md-1 col-lg-1 col-xs-12">
</div>
<!--end of col-sm-8 col-md-8 col-lg-8 col-xs-9-->
</div>
<!--end of row-->
<div class="clearfix"></div>
<div class="bagg_info">
<div class="bagg_information_wrapper mytrip_bloginfo12">
<img src="<?= $baseUrl ?>/public/images/baggage.png" alt="Check-In " title="Check-In ">
<span class="checkin_box1">Check-In: <span class="checkinkg1">{{value.Baggage}}</span></span>
<img src="<?= $baseUrl ?>/public/images/luggage.png" alt="Cabin Baggage" title="Cabin Baggage">
<span class="cabin_box1">Cabin Baggage: <strong>{{value.CabinBaggage}}</strong></span>
<img src="<?= $baseUrl ?>/public/images/meals.png" alt="Meals" title="Meals">
<span class="cabin_box1">Meal: <strong>{{value.IsMealIncludes == false ? "NO" : "YES"}}</strong></span>
</div>
<!--end of bagg_information_wrapper-->
<div class="nonrefundable mousedefult">
<a style="cursor:default;" ng-class="{textcolor: viewmore.origin.IsRefundable == true}">
{{viewmore.origin.IsRefundableTxt}}
</a>
</div>
<!--end of nonrefundable-->
</div>
<!--end of bagg_info-->
<div class="clearfix"></div>
<div class="airport_timeinformation" ng-if="value.GroundTime > 0 && viewmore.ICSourceSysId != 3">{{value.LAYOVERDuration}} LAYOVER at {{value.LAYOVERCity}} Airport</div>
</div>
<div class="clearfix"></div>
<!--<div class="fair_details_divide"></div>-->
<div class="fair_details_title fair_details_noround">
<div class="row">
<div class="col-lg-8 col-sm-8 col-md-8 col-xs-12">
<div class="destination_left_details mytip_deatilsalign">
<div class="destination_name" mytip_deatilsname> {{viewmore.destination.SourceAirportCode}} - {{viewmore.destination.DestAirportCode}}</div>
<p>{{viewmore.destination.StopCount}} | {{classss}}</p>
</div>
<div class="destination_right_details mytip_deatilsalign">
<div class="destination_name mytip_deatilsname"> {{viewmore.destination.DepartureDateTxt}}
</div>
<p>{{viewmore.destination.FlightDuration}}</p>
</div>
</div>
<div class="col-lg-4 col-sm-4 col-md-4 hidden-xs">
<div class="fare_information return_info fare_information_mytrip">
Return
</div>
</div>
</div>
<!--end of row-->
</div>
<!--end of fair_details-->
<div class="clearfix"></div>
<div class="flight_search_list_details" ng-repeat="(key, value) in viewmore.Segments" ng-if="value.isReturnSegment == true">
<div class="airport_timeinformation" ng-if="value.GroundTime > 0 && viewmore.ICSourceSysId == 3">{{value.LAYOVERDuration}} LAYOVER at {{value.LAYOVERCity}} Airport</div>
<div class="row">
<div class="col-sm-2 col-md-2 col-lg-2 col-xs-12 flight_padding_0">
<div class="fligt_logo">
<img src="{{value.filePath}}" title="{{value.AirlineName}}" height="20" />
<h5>{{value.AirlineName}}</h5>
<h6>{{value.SegFlightNumber}}</h6>
</div>
</div>
<!--end of col-sm-2 col-md-2 col-lg-2 col-xs-6-->
<div class="col-sm-9 col-md-9 col-lg-9 col-xs-12 flight_padding_0">
<div class="row">
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-6">
<div class="flight_details review_left">
<div class="flight_time">{{value.strDepartureDtTime}}</div>
<div class="flight_time2">{{value.originAirportCode}}</div>
<div class="flight_cityname mytrip_citname_textname">{{value.originCityName}},{{value.originCountryName}}</div>
<div class="flight_cityname2 mytrip_citname_text">
<!--Terminal :--> <span style="font-size:13px;">{{value.DepTerminal}}</span>
</div>
</div>
<!--end of flight_details-->
</div>
<!--end of col-lg-3 col-sm-3 col-md-3 col-xs-3-->
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-4 mobile_hide_section mytrip_alignleft">
<div class="theme-search-results-item-flight-section-path">
<div class="theme-search-results-item-flight-section-path-fly-time">
<p>{{value.FlightDuration}}</p>
</div>
<div class="theme-search-results-item-flight-section-path-line"></div>
<div class="theme-search-results-item-flight-section-path-line-start mytrip_linedot_start">
<div class="theme-search-results-item-flight-section-path-line-dot mytrip_linedot"></div>
</div>
<div class="theme-search-results-item-flight-section-path-line-end mytrip_linedot_start">
<div class="theme-search-results-item-flight-section-path-line-dot mytrip_linedot"></div>
</div>
</div>
</div>
<!--end of col-lg-6 col-sm-6 col-md-6 col-xs-6-->
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-6">
<div class="flight_details review_left">
<div class="flight_time">{{value.strArrivalDtTime}}</div>
<div class="flight_time2">{{value.destinationAirportCode}}</div>
<div class="flight_cityname mytrip_citname_textname">{{value.destinationCityName}},{{value.destinationCountryName}}</div>
<div class="flight_cityname2">Terminal : <span style="font-size:13px;">{{value.ArrTerminal}}</span></div>
</div>
<!--end of flight_details-->
</div>
<!--end of col-lg-3 col-sm-3 col-md-3 col-xs-3-->
</div>
<!--end of row-->
</div>
<!--end of col-sm-8 col-md-8 col-lg-8 col-xs-8-->
<div class="col-sm-1 col-md-1 col-lg-1 col-xs-2">
</div>
<!--end of col-sm-8 col-md-8 col-lg-8 col-xs-9-->
</div>
<!--end of row-->
<div class="clearfix"></div>
<div class="bagg_info">
<div class="bagg_information_wrapper mytrip_bloginfo12">
<img src="<?= $baseUrl ?>/public/images/baggage.png" alt="Check-In " title="Check-In ">
<span class="checkin_box1">Check-In: <span class="checkinkg1">{{value.Baggage}}</span></span>
<img src="<?= $baseUrl ?>/public/images/luggage.png" alt="Check-In " title="Check-In ">
<span class="cabin_box1">Cabin Baggage: <strong>{{value.CabinBaggage}} </strong></span>
<img src="<?= $baseUrl ?>/public/images/meals.png" alt="Check-In " title="Check-In ">
<span class="cabin_box1">Meal: <strong>{{value.IsMealIncludes == false ? "NO" : "YES"}} </strong></span>
</div>
<div class="nonrefundable mousedefult">
<a style="cursor:default;" ng-class="{textcolor: viewmore.destination.IsRefundable == true}">
{{viewmore.destination.IsRefundableTxt}}
</a>
</div>
<!--end of nonrefundable-->
</div>
<!--end of bagg_info-->
<div class="clearfix"></div>
<div class="airport_timeinformation" ng-if="value.GroundTime > 0 && viewmore.ICSourceSysId != 3">{{value.LAYOVERDuration}} LAYOVER at {{value.LAYOVERCity}} Airport</div>
</div>
<div class="clearfix"></div>
</div>
<!--end of fair_details-->
</div>
<!--end of FlightDetails-->
<div role="tabpanel" class="tab-pane no-padding" id="FareSummary">
<div class="tswitch">
<div class="table-responsive">
<table class="tablestyle" style="width: 100%;">
<tbody>
<tr class="alert alert-graylight">
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Type</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Fare</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Taxes & Fee</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Discount</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Total</div>
</th>
</tr>
<tr ng-repeat="fareval in FareDetails.FareBreakdown">
<td class="cancellation_text2">
<div class="table_box1">{{fareval.PaxType}} x {{fareval.PassengerCount}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.BaseFare| number:2}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.Tax + fareval.TDSEarn + fareval.FixedMarkUp + fareval.GSTOnMarkUp + fareval.CommissionEarned + fareval.CommDiscount| number:2}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.CommDiscount| number:2}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.BaseFare + fareval.Tax + fareval.FixedMarkUp + fareval.GSTOnMarkUp + fareval.CommissionEarned + fareval.TDSEarn| number:2}}</div>
</td>
</tr>
<tr>
<td colspan="4" height="35" class="cancellation_text" style="font-size: 13px; font-weight:bold;">
<div class="table_box1">Total</div>
</td>
<td height="35" class="cancellation_text" style="font-size: 13px; font-weight:bold;">
<div class="table_box1">{{FareDetails.Currency}} {{FareDetails.PublishedFare| number:2}} </div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane no-padding" id="FareRules">
<div class="tswitch">
<div class="table-responsive cancell-fligt">
<div id="FareRulesDiv">
</div>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane no-padding" id="baggageinfo">
<div class="tswitch">
<div class="table-responsive cancell-fligt">
<table class="table table-bordered">
<tr>
<th width="10%">Sector</th>
<th>Checkin</th>
<th>Cabin</th>
</tr>
<tr ng-repeat="(key, value) in tripbaggageinfo | orderBy: key">
<td>{{key}}</td>
<td>
<span style="padding: 4px; line-height: 18px;" ng-repeat="(paxtypes, val) in value"> <b>{{paxtypes}}</b>: {{val.checkin}}</span>
</td>
<td>
<span style="padding: 4px; line-height: 18px;" ng-repeat="(paxtypess, vals) in value"> <b>{{paxtypess}}</b>: {{vals.cabin}}</span>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<?php } else { ?>
<div class="tab-content">
<div role="tabpanel" class="tab-pane no-padding active" id="FlightDetails">
<div class="fair_details mytrip_fairdeatils_wrapper">
<div class="fair_details_title fair_details_bg">
<div class="row">
<div class="col-lg-8 col-sm-8 col-md-8 col-xs-12">
<div class="destination_left_details mytip_deatilsalign">
<div class="destination_name mytip_deatilsname"> {{viewmore.SourceAirportCode}} - {{viewmore.DestAirportCode}}</div>
<p>{{viewmore.StopCount}} | {{classss}}</p>
</div>
<div class="destination_right_details mytip_deatilsalign">
<div class="destination_name mytip_deatilsname"> {{DepDare}}
</div>
<p> {{viewmore.FlightDuration}}</p>
</div>
</div>
<div class="col-lg-4 col-sm-4 col-md-4 hidden-xs">
<div class="fare_information return_info fare_information_mytrip">
Departure
</div>
</div>
</div>
<!--end of row-->
</div>
<!--end of fair_details-->
<div class="clearfix"></div>
<div class="flight_search_list_details mytrip_flight_search_list_details" ng-repeat="(key, value) in viewmore.Segments">
<div class="airport_timeinformation" ng-if="value.GroundTime > 0 && ICSourceSysId == 3">{{value.LAYOVERDuration}} LAYOVER at {{value.LAYOVERCity}} Airport</div>
<div class="row row_padding">
<!-- <div class="mytrip_time" ng-if="value.GroundTime > 0">{{value.LAYOVERDuration}} LAYOVER at {{value.originCityName}} Airport</div> -->
<div class="col-sm-2 col-md-2 col-lg-2 col-xs-12 flight_padding_0">
<div class="fligt_logo">
<img src="{{value.filePath}}" title="{{value.AirlineName}}" height="20" />
<h5>{{value.AirlineName}}</h5>
<h6>{{value.SegFlightNumber}}</h6>
</div>
</div>
<!--end of col-sm-2 col-md-2 col-lg-2 col-xs-6-->
<div class="col-sm-9 col-md-9 col-lg-9 col-xs-12 flight_padding_0">
<div class="row">
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-6">
<div class="flight_details review_left">
<div class="flight_time">{{value.strDepartureDtTime}}</div>
<div class="flight_time2">{{value.originAirportCode}}</div>
<div class="flight_cityname mytrip_citname_textname">{{value.originCityName}}</div>
<div class="flight_cityname2 mytrip_citname_text" style="margin: 0px 0 0;">{{value.originAirportName}}, Terminal: <span style="font-size:13px;">{{value.DepTerminal}}, {{value.originCountryName}}</span></div>
</div>
<!--end of flight_details-->
</div>
<!--end of col-lg-3 col-sm-3 col-md-3 col-xs-3-->
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-4 mobile_hide_section mytrip_alignleft">
<div class="theme-search-results-item-flight-section-path">
<div class="theme-search-results-item-flight-section-path-fly-time">
<p>{{value.FlightDuration}}</p>
</div>
<div class="theme-search-results-item-flight-section-path-line"></div>
<div class="theme-search-results-item-flight-section-path-line-start mytrip_linedot_start">
<div class="theme-search-results-item-flight-section-path-line-dot mytrip_linedot"></div>
</div>
<div class="theme-search-results-item-flight-section-path-line-end mytrip_linedot_start">
<div class="theme-search-results-item-flight-section-path-line-dot mytrip_linedot"></div>
</div>
<div ng-if="value.StopOver" class="theme-search-results-item-flight-section-path-fly-time" style="top: 36px;">
<p style="line-height: 15px;">Via - {{value.StopPoint}}</p>
<p style="line-height: 15px;">Arr - {{value.StopPointArrivalTime| date : "d MMM y HH:mm"}}</p>
<p style="line-height: 15px;">Dep - {{value.StopPointDepartureTime| date : "d MMM y HH:mm"}}</p>
</div>
</div>
</div>
<!--end of col-lg-6 col-sm-6 col-md-6 col-xs-6-->
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-6">
<div class="flight_details review_left">
<div class="flight_time">{{value.strArrivalDtTime}}</div>
<div class="flight_time2">{{value.destinationAirportCode}}</div>
<div class="flight_cityname mytrip_citname_textname">{{value.destinationCityName}}</div>
<div class="flight_cityname2 mytrip_citname_text" style="margin: 0px 0 0;">{{value.destinationAirportName}}, Terminal : <span style="font-size:13px;">{{value.ArrTerminal}}, {{value.destinationCountryName}}</span></div>
</div>
<!--end of flight_details-->
</div>
<!--end of col-lg-3 col-sm-3 col-md-3 col-xs-3-->
</div>
<!--end of row-->
</div>
<!--end of col-sm-8 col-md-8 col-lg-8 col-xs-8-->
<div class="col-sm-1 col-md-1 col-lg-1 col-xs-12">
</div>
<!--end of col-sm-8 col-md-8 col-lg-8 col-xs-9-->
</div>
<!--end of row-->
<div class="clearfix"></div>
<div class="bagg_info">
<div class="bagg_information_wrapper mytrip_bloginfo12">
<img src="<?= $baseUrl ?>/public/images/baggage.png" alt="Check-In " title="Check-In ">
<span class="checkin_box1">Check-In: <span class="checkinkg1">{{value.Baggage}}</span></span>
<img src="<?= $baseUrl ?>/public/images/luggage.png" alt="Check-In " title="Check-In ">
<span class="cabin_box1">Cabin Baggage: <strong>{{value.CabinBaggage}} </strong></span>
<img src="<?= $baseUrl ?>/public/images/meals.png" alt="Check-In " title="Check-In ">
<span class="cabin_box1">Meal: <strong>{{value.IsMealIncludes == true ? "YES" : "NO"}} </strong></span>
</div>
<!--end of bagg_information_wrapper-->
<div class="nonrefundable mousedefult">
<a style="cursor:default;" ng-class="{textcolor: viewmore.IsRefundable == true}">
{{viewmore.IsRefundableTxt}}
</a>
</div>
<!--end of nonrefundable-->
</div>
<!--end of bagg_info-->
<div class="clearfix"></div>
<div class="airport_timeinformation" ng-if="value.GroundTime > 0 && ICSourceSysId != 3">{{value.LAYOVERDuration}} LAYOVER at {{value.LAYOVERCity}} Airport</div>
</div>
<div class="clearfix"></div>
<!--<div class="fair_details_divide"></div>-->
<div class="clearfix"></div>
</div>
<!--end of fair_details-->
</div>
<!--end of FlightDetails-->
<div role="tabpanel" class="tab-pane no-padding" id="FareSummary">
<div class="tswitch">
<div class="table-responsive">
<table class="tablestyle" style="width: 100%;">
<tbody>
<tr class="alert alert-graylight">
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Type</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Fare</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Taxes & Fee</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Discount</div>
</th>
<th height="35" class="cancellation_text small smallbold">
<div class="table_box1">Total</div>
</th>
</tr>
<tr ng-repeat="fareval in FareDetails.FareBreakdown">
<td class="cancellation_text2">
<div class="table_box1">{{fareval.PaxType}} x {{fareval.PassengerCount}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.BaseFare| number:2}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.Tax + fareval.TDSEarn + fareval.FixedMarkUp + fareval.GSTOnMarkUp + fareval.CommissionEarned + fareval.CommDiscount| number:2}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.CommDiscount| number:2}}</div>
</td>
<td class="cancellation_text2">
<div class="table_box1">{{fareval.Currency}} {{fareval.BaseFare + fareval.Tax + fareval.FixedMarkUp + fareval.GSTOnMarkUp + fareval.CommissionEarned + fareval.TDSEarn| number:2}}</div>
</td>
</tr>
<tr>
<td colspan="4" height="35" class="cancellation_text" style="font-size: 13px; font-weight:bold;">
<div class="table_box1">Total</div>
</td>
<td height="35" class="cancellation_text" style="font-size: 13px; font-weight:bold;">
<div class="table_box1">{{FareDetails.Currency}} {{FareDetails.PublishedFare| number:2}} </div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane no-padding" id="FareRules">
<div class="tswitch">
<div class="table-responsive cancell-fligt">
<ul class="nav nav-tabs farerulestab" role="tablist" ng-if="ICSourceSysId == 3" style="margin-bottom: 0px">
<li role="presentation" ng-repeat="(secTors, value) in MiniFareRUles track by $index" ng-class="{active: $index == 0}"><a href="#{{secTors}}" ng-class="{active: $index == 0}" aria-controls="profile" role="tab" data-toggle="tab">{{secTors}}</a></li>
</ul>
<div class="tab-content" ng-if="ICSourceSysId == 3">
<div role="tabpanel" ng-repeat="(secTor, val) in MiniFareRUles track by $index" style="padding: 0px;" class="tab-pane " ng-class="{active: $index == 0}" id="{{secTor}}">
<table class="table table-bordered" style="font-size: 12px;">
<tr>
<th style="padding: 15px; width:15%;">Sector</th>
<th style="padding: 15px; width:35%;">Time Frame</th>
<th style="padding: 15px; width:50%;">Charges & Description</th>
</tr>
<tr style="text-align: center;">
<td colspan="3" style="text-align: center; color: red;">Mentioned fees is per pax per sector </td>
</tr>
<tr ng-repeat="(key, value) in val">
<td style="padding: 15px;">{{value.sector}}</td>
<td style="padding: 15px;">{{value.TimeFrame}}</td>
<td style="padding: 15px;">{{value.CurrencyTitle}} {{value.amount}} + {{value.additionalFee}}</td>
</tr>
</table>
</div>
</div>
<div id="FareRulesDiv">
</div>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane no-padding" id="baggageinfo">
<div class="tswitch">
<div class="table-responsive cancell-fligt">
<table class="table table-bordered">
<tr>
<th width="10%">Sector</th>
<th>Checkin</th>
<th>Cabin</th>
</tr>
<tr ng-repeat="(key, value) in tripbaggageinfo track by $index">
<td>{{key}}</td>
<td>
<span style="padding: 4px; line-height: 18px;" ng-repeat="(paxtypes, val) in value"> <b>{{paxtypes}}</b>: {{val.checkin}}</span>
</td>
<td>
<span style="padding: 4px; line-height: 18px;" ng-repeat="(paxtypess, vals) in value"> <b>{{paxtypess}}</b>: {{vals.cabin}}</span>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div> <!-- modal-body -->
</div> <!-- modal-content -->
</div> <!-- modal-dialog -->
</div>
<div class="modal fade" id="myModalemail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" onclick="return closeModalBox('myModalemail', 'myModa1EmailContentId')" aria-hidden="true" title="Close">×</button>
<h4 class="modal-title" id="myModalLabel">Send Email</h4>
</div>
<div class="modal-body">
<div class="PackageHtmlDiv">
<div class="col-md-12 no-padding table-responsive">
<div class="col-md-12">
<label> </label><br>
<?php if ($this->IsOwnApi == 1) { ?>
<input class="custMember" type="radio" name="bookingAllowed" id="bookingAllowed" value="1" checked>
<label for="bookingAllowed">Allow Ticket with Payment</label>
<?php } ?>
<input class="custMember" type="radio" name="bookingAllowed" id="bookingAllowed2" value="2" <?= ($this->IsOwnApi == 1) ? '' : 'checked' ?> title="Coming soon..">
<label for="bookingAllowed2"> Allow Payment without Ticket </label>
<input class="custMember" type="radio" name="bookingAllowed" id="bookingAllowed3" value="0">
<label for="bookingAllowed3">Only share (No payment/Ticket)</label>
</div>
<div class="col-md-12 no-padding table-responsive sendEmailForm">
<table class="table tablestyle">
<tbody>
<!-- <tr class="alert alert-graylight">
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Flight</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Net Fare</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Commission</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Net Price</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile2">Discount</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile2">Extra mark up</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile2"><?= $this->TaxLabelIdName ?></div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Final Price (<?= $this->CurrencyTitle ?>)</div>
</th>
</tr> -->
<tr>
<td align="center" colspan="7" ng-hide="loadingProposal == false">
<img src="<?php echo $this->baseUrl('public/assets/images/ellipsis.gif'); ?>" />
<img src="<?php echo $this->baseUrl('public/assets/images/ellipsis.gif'); ?>" />
<img src="<?php echo $this->baseUrl('public/assets/images/ellipsis.gif'); ?>" />
<img src="<?php echo $this->baseUrl('public/assets/images/ellipsis.gif'); ?>" />
</td>
</tr>
<tr ng-repeat="(key, Datas) in filteredNew = (allselectedFlightData | orderBy: key)" ng-hide="loadingProposal == true">
<td colspan="8">
<table class="table tablestyle">
<?php if ($route != 3) { ?>
<tr class="alert alert-graylight">
<th align="left" colspan="8" ng-if="JourneyType != 2 && IsInternational != 1" style="font-size: 15px;font-weight: 600;"> {{Datas[0].SourceAirportCode}} - {{Datas[0].DestAirportCode}} </th>
<!-- <th align="left" colspan="8" ng-if="key == 2 && IsInternational == ''" style="font-size: 15px;font-weight: 600;"> Return ( {{Datas[0].SourceAirportCode}} - {{Datas[0].DestAirportCode}} )</th> -->
<!-- <th align="left" colspan="8" ng-if="key == 1 && IsInternational == 1 && FlightRoute != 2" style="font-size: 15px;font-weight: 600;"> Return ( {{Datas[0].SourceAirportCode}} - {{Datas[0].DestAirportCode}} )</th> -->
<th align="left" colspan="8" ng-if="JourneyType == 2 && IsInternational == 1" style="font-size: 15px;font-weight: 600;"> {{Datas[0].origin.SourceAirportCode}} ⇄ {{Datas[0].destination.SourceAirportCode}}</th>
</tr>
<?php } ?>
<tr class="alert alert-graylight">
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Flight</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Net Fare</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Commission</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Net Price</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile2">Discount</div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile2">Extra mark up</div>
</th>
<th class="small smallbold" width="10.5%" <?= ($this->TaxLabelId != 0) ? '' : 'style="display:none"' ?>>
<div class="table_width_mobile2"><?= $this->TaxLabelIdName ?></div>
</th>
<th class="small smallbold" width="10.5%">
<div class="table_width_mobile">Final Price ({{Datas[0].FairRules[0].Currency}})</div>
</th>
</tr>
<tr ng-repeat="(keys, values) in filtered = (Datas | orderBy:PublishedFare:reverse )" ng-if="values.JourneyType == 1">
<td align="left" width="10.5%">
<div class="table_width_mobile"> {{values.AirlineName}} <br><span class="graytxt small">{{values.FlightNumber}}</span></div>
</td>
<td align="left" width="10.5%" id="OfferedFare_{{keys}}{{key}}">
<div class="table_width_mobile"> {{((values.FairRules[0].OfferedFare + values.FairRules[0].intGTXMarkUp + values.FairRules[0].GTXMarkUpGST + values.FairRules[0].TdsOnCommission + values.FairRules[0].apiMarkup + values.FairRules[0].apiTaxOnMarkup) * values.FairRules[0].CurrencyRate) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="CommEarned_{{keys}}{{key}}">
<div class="table_width_mobile"> {{((values.FairRules[0].CommEarned + values.FairRules[0].FixedMarkUp + values.FairRules[0].GSTOnMarkUp) * values.FairRules[0].CurrencyRate) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="NetFare_{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<td align="left" width="10.5%" id="DISCOUNT_{{keys}}{{key}}">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass discountBox" <?= ($this->IsOwnApi == 1) ? 'disabled' : '' ?> discnt="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, keys, values)" name="adddiscount[]" id="discountvalue_{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass" mrkup="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, keys, values)" name="addMarkup[]" id="markupvalue_{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%" id="GSTOnMarkUp_{{keys}}{{key}}" <?= ($this->TaxLabelId != 0) ? '' : 'style="display:none"' ?>>
<div class="table_width_mobile2"> 0.00</div>
</td>
<td align="left" width="16%" id="FinalFare_{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<input type="hidden" value="{{values.SearchTraceId}}" id="SearchTraceId">
<input type="hidden" value="{{values}}" name="singleString[]">
</tr>
<tr ng-repeat="(keys, values) in filtered = (Datas | orderBy:PublishedFare:reverse )" ng-if="values.JourneyType == 2 && values.IsInternational == '0'">
<td align="left" width="10.5%">
<div class="table_width_mobile"> {{values.AirlineName}} <br><span class="graytxt small">{{values.FlightNumber}}</span></div>
</td>
<td align="left" width="10.5%" id="OfferedFare_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{((values.FairRules[0].BaseFare + values.FairRules[0].Tax + values.FairRules[0].FixedMarkUp + values.FairRules[0].GSTOnMarkUp)) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="CommEarned_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{(values.FairRules[0].CommissionEarned + values.FairRules[0].TDSEarn) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="NetFare_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<td align="left" width="10.5%" id="DISCOUNT_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass discountBox" disabled discnt="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, values.dataKey+''+keys, values)" name="adddiscount[]" id="discountvalue_{{values.dataKey}}{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass" mrkup="{{values.JourneyType}}_{{values.FlightNumber}}" name="addMarkup[]" ng-keyup="CalculateMarkup(key, values.dataKey+''+keys, values)" id="markupvalue_{{values.dataKey}}{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%" id="GSTOnMarkUp_{{values.dataKey}}{{keys}}{{key}}" <?= ($this->TaxLabelId != 0) ? '' : 'style="display:none"' ?>>
<div class="table_width_mobile2"> 0.00</div>
</td>
<td align="left" width="10.5%" id="FinalFare_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<input type="hidden" value="{{values.SearchTraceId}}" id="SearchTraceId">
<input type="hidden" value="{{values}}" name="singleString[]">
</tr>
<tr ng-repeat="(keys, values) in filtered = (Datas | orderBy:PublishedFare:reverse )" ng-if="JourneyType == 2 && IsInternational == 1">
<td align="left" width="16%">
<div class="table_width_mobile"> {{values.origin.AirlineName}} <br><span class="graytxt small">{{values.origin.SegFlightNumberArr}}<br>{{values.destination.SegFlightNumberArr}}</span></div>
</td>
<td align="left" width="10.5%" id="OfferedFare_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{((values.FairRules[0].BaseFare + values.FairRules[0].Tax + values.FairRules[0].FixedMarkUp + values.FairRules[0].GSTOnMarkUp)) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="CommEarned_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{(values.FairRules[0].CommissionEarned + values.FairRules[0].TDSEarn) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="NetFare_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<td align="left" width="10.5%" id="DISCOUNT_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass discountBox" disabled discnt="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, values.dataKey+''+keys, values)" name="adddiscount[]" id="discountvalue_{{values.dataKey}}{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass" mrkup="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, values.dataKey+''+keys, values)" name="addMarkup[]" id="markupvalue_{{values.dataKey}}{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%" id="GSTOnMarkUp_{{values.dataKey}}{{keys}}{{key}}" <?= ($this->TaxLabelId != 0) ? '' : 'style="display:none"' ?>>
<div class="table_width_mobile2"> 0.00</div>
</td>
<td align="left" width="10.5%" id="FinalFare_{{values.dataKey}}{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<input type="hidden" value="{{values.SearchTraceId}}" id="SearchTraceId">
<input type="hidden" value="{{values}}" name="singleString[]">
</tr>
<tr ng-repeat="(keys, values) in filtered = (Datas | orderBy:PublishedFare:reverse )" ng-if="values.JourneyType == 3">
<td align="left" width="10.5%">
<div class="table_width_mobile" ng-repeat="(keysA, valuesA) in values.Segments"> {{valuesA.AirlineName}} (<span class="graytxt small">{{valuesA.SegFlightNumber}}</span>)</div>
</td>
<td align="left" width="10.5%" id="OfferedFare_{{keys}}{{key}}">
<div class="table_width_mobile"> {{((values.FairRules[0].OfferedFare + values.FairRules[0].intGTXMarkUp + values.FairRules[0].GTXMarkUpGST + values.FairRules[0].TdsOnCommission + values.FairRules[0].apiMarkup + values.FairRules[0].apiTaxOnMarkup) * values.FairRules[0].CurrencyRate) | number:2}}</div>
</td>
<td align="left" width="10.5%" id="CommEarned_{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].CommEarned + values.FairRules[0].FixedMarkUp + values.FairRules[0].GSTOnMarkUp| number:2}}</div>
</td>
<td align="left" width="10.5%" id="NetFare_{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<td align="left" width="10.5%" id="DISCOUNT_{{keys}}{{key}}">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass discountBox" disabled discnt="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, keys, values)" name="adddiscount[]" id="discountvalue_{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%">
<div class="table_width_mobile2"> <input class="form-control whbg uniqueclass" mrkup="{{values.JourneyType}}_{{values.FlightNumber}}" ng-keyup="CalculateMarkup(key, keys, values)" name="addMarkup[]" id="markupvalue_{{keys}}{{key}}" value="0" style="width:100px;" type="name" onKeyPress="return kp_numeric(event);" maxlength="5"></div>
</td>
<td align="left" width="10.5%" id="GSTOnMarkUp_{{keys}}{{key}}" <?= ($this->TaxLabelId != 0) ? '' : 'style="display:none"' ?>>
<div class="table_width_mobile2"> 0.00</div>
</td>
<td align="left" width="10.5%" id="FinalFare_{{keys}}{{key}}">
<div class="table_width_mobile"> {{values.FairRules[0].PublishedFare| number:2}}</div>
</td>
<input type="hidden" value="{{values.SearchTraceId}}" id="SearchTraceId">
<input type="hidden" value="{{values}}" name="singleString[]">
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="col-md-12 no-padding" style="display:none;">
<div class="form-group form-group1">
Card Charges : 2% | <label class="checkbox inlinebl no-margin blue">
<input type="checkbox" name="cardcharges" id="cardcharges" value="1" class="icheck-blue" checked> Add card charge to customer
</label></div>
</div>
<div class="row">
<div class="col-md-3" id="b2bagencydiv" style="display:none;">
<div class="form-group">
<label>Agency Name <?php echo MANDATORY_SIGN; ?></label>
<input type="text" autocomplete="off" class="form-control whbg" name="b2bagencyname" id="b2bagencyname" onKeyPress="get_agencyname_autosuggest('b2bagencyname', 'hidden_b2bagency_agentId', '');" value="">
<input type="hidden" id="hidden_b2bagency_agentId" name="hidden_b2bagency_agentId" value="" />
<input type="hidden" id="hidden_b2bagency_agencysysid" name="hidden_b2bagency_agencysysid" value="" />
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Customer Email <?php echo MANDATORY_SIGN; ?></label>
<input class="form-control whbg" autocomplete="off" placeholder="Customer Email" type="text" name="custemail" id="custemail" value="<?php echo isset($this->customerDetails['EmailId']) ? trim($this->customerDetails['EmailId']) : ''; ?>" readonly="true">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label>Customer Name <?php echo MANDATORY_SIGN; ?></label>
<input class="form-control whbg" placeholder="Customer Name" type="text" name="custname" id="custname" value="<?= trim($this->customerDetails['FirstName']) ?> <?= trim(@$this->customerDetails['LastName']) ?>" readonly="true">
</div>
</div>
<div class="col-md-4">
<?php $countryshortcode = Zend_Controller_Action_HelperBroker::getStaticHelper('General')->countryshortcode(($this->customerDetails['countrycode'] != null) ? str_replace('+', '', trim($this->customerDetails['countrycode'])) : '91'); ?>
<div class="form-group active full">
<label>Customer Mobile <?php echo MANDATORY_SIGN; ?></label>
<div class="txtfieldMain textfieldMain_mobile">
<div class="country_details">
<div id="iti-flag" class="iti-flag <?php echo ($countryshortcode != null) ? $countryshortcode : 'in'; ?>"></div>
<div class="iti-arrow"></div>
</div>
<div class="country_dropdown">
<div class="search_country">
<input type="text" name="" class="txtfield form-control" placeholder="Search countries" id="countries_list">
<div class="search_icon"></div>
</div>
<ul class="allcountries"></ul>
</div>
<input type="text" class="txtfield country_code" readonly="readonly" id="mobile_code" name="countrycode" value="<?php echo @trim($this->customerDetails['countrycode']) ? trim($this->customerDetails['countrycode']) : '+91' ?>" readonly="true">
<input type="text" name="custphone" id="custphone" onKeyPress="return isNumber(event);" maxlength="15" value="<?php echo @trim($this->customerDetails['Contacts']) ? trim($this->customerDetails['Contacts']) : '' ?>" class="form-control whbg" style="width: 171px; float: right; border:#ccc 0px solid !important;height: 34px;" readonly="true">
</div>
</div>
</div>
<div class="col-md-4" style="padding-bottom:10px;">
<label>Cc</label>
<input class="form-control whbg" autocomplete="off" placeholder="Cc email id" type="text" name="ccemail" id="ccemail" value="<?php echo $CCMailval; ?>">
</div>
<div class="col-md-4">
<label>Sender Email ID</label>
<select id="senderEmailID" name="senderEmailID" onchange="" placeholder="Select" class="demo-default select-country">
<option value="0">Select</option>
<?php for ($pt = 0; $pt < count($getActiveSenderEmailId); $pt++) { ?>
<option value="<?php echo $getActiveSenderEmailId[$pt]['SenderEmailID'] ?>" <?php
if ($getActiveSenderEmailId[$pt]['SenderSysId'] == $SenderEmailSysId) {
echo 'selected';
}
?>>
<?php echo $getActiveSenderEmailId[$pt]['SenderEmailID'] ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="form-group">
<label for="remarks">Remarks</label>
<textarea style="width:100%;" rows="2" cols="10" name="remarks" id="remarks" class="valid"></textarea>
</div>
</div>
<div class="col-md-4">
<div class="pop-footer-col IsRefundable">
<label class="checkbox_popup leftsidearea checkbox_width_auto mt-rt-1">
<input type="checkbox" name="IsHideRefundable" id="IsHideRefundable" value="1">
Hide Refundable/Non-Refundable
<span class="checkmark"></span>
</label>
</div>
</div>
</div>
</div>
<div class="WhatsappMsgDiv" style="display:none;" id="WhatsappMsgcontent">
</div>
<div class="clear"></div>
</div>
<div class="modal-footer">
<div class="row">
<div class="col-md-3 col-lg-3 col-sm-3 col-xs-6 mbright_plftt0 mt5_emailalign">
<div class="pop-footer-col IsSendMail hideOnWpUi">
<label class="checkbox_popup leftsidearea checkbox_width_auto mt-rt-1">
<input type="checkbox" name="IsSendMail" id="IsSendMail" value="1" checked>
Mail
<span class="checkmark"></span>
</label>
</div>
</div>
<div class="col-md-9 col-lg-9 col-sm-9 col-xs-12 no-padding-left">
<button class="btn btn-sm btn-danger showpopupcancel" type="button" onclick="return closeModalBox('myModalemail', 'myModa1EmailContentId')">Cancel</button>
<!-- <button data-dismiss="modal" class="btn btn-primarygray btn-sm ShowPreviewBtn" onclick="return ShowPreview();" type="button">Preview</button> -->
<button class="btn btn-primary btn-sm pleaseWaitPop" ng-click="ShareOnMail()" type="button">Send</button>
<a class="btn btn-primarygray btn-sm copy-wp-btn" style="display:none;" onclick="copyToClipboardWp();">Copy to clipboard</a>
<a class="btn btn-success btn-sm pull-right shareWithWhatsappPOP" style="display:none; color:#fff; background-color:#25D366; border-color:#25D366;" onclick="shareWithWhatsappPOP('<?php echo $GetWhatsappUrl; ?>');"><i class="fa fa-whatsapp" aria-hidden="true"></i> Share on
whatsapp</a>
<input type="hidden" id="customerContactPOP" value="">
<input type="hidden" id="getMessageBodyPOP" value="">
</div>
</div>
<!-- <input type="hidden" name="leadID" id="leadID" value="<?php
if (isset($this->leadId)) {
echo trim($this->leadId);
}
?>">
<input type="hidden" name="CustomerSysId" id="CustomerSysId" value="<?php echo trim($this->customerDetails['CustomerSysId']); ?>" />
<input type="hidden" name="customerSysIdSel" id="customerId" value="">
<input type="hidden" name="tripType" id="tripType" value="<?php echo trim($this->tripType); ?>" />
<input type="hidden" name="IsB2BAgent" id="IsB2BAgent" value="<?php echo isset($this->customerDetails['IsB2BAgent']) ? trim($this->customerDetails['IsB2BAgent']) : 0; ?>">
<input type="hidden" name="aId" id="aId" value="<?php echo (isset($this->customerDetails['IsB2BAgent']) && $this->customerDetails['CreatedByUserSysId'] > 0) ? trim($this->customerDetails['CreatedByUserSysId']) : ''; ?>"> -->
</div>
</div>
</div>
</div>
<?php if ($strRoute == '1' || ($strRoute == '2' && $interNationalSearch == 1)) { ?>
<div class="mobile_footer_bottomfixed_ft filter-box">
<ul>
<li><a href="javascript://" id="flightfilter"><img src="<?= $baseUrl ?>/public/images/flight/filter-2-line-white.svg"> Filter</a></li>
<li class="mbpropl_wdth11"><a href="javascript://" id="flightpropsal"> <img src="<?= $baseUrl ?>/public/images/flight/proposal.svg"></a></li>
<li class="shareboxMob" style="display:none;"><a data-toggle="modal" ng-click="GetValue()" data-target="#myModalemail"> <img src="<?= $baseUrl ?>/public/images/flight/share.svg"></a></li>
<li><a href="javascript://" id="flightsorting"> <img src="<?= $baseUrl ?>/public/images/flight/sort.svg"> Sort</a></li>
</ul>
<div class="clearfix"></div>
</div>
<?php } ?>
</div>
<!--- Itinerary ,Baggage Information & Fare rules Modal Starts ---->
</section>
<div class="modal fade" id="myModa1flightdirect" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lgg">
<div class="modal-content">
<div class="modal-header label-default white">
<h4 class="modal-title">Flight Direct Deals
<button type="button" class="close pull-right close-pop-timeout button-close" data-dismiss="modal" aria-hidden="true">×</button>
</h4>
</div>
<div class="modal-body">
<div class="panel-body pop-up-view align_padding_0">
<h3 class="starting_padding directdeals-text QuickFlightHtmlDiv">Share Direct Deals</h3>
<div class="col-md-12 leadeBorder2 no-padding QuickFlightHtmlDiv" style="margin-bottom:10px;display:none1;">
<input type="radio" name="dealsType" id="TextBased" checked="checked" value="1">
<label class="radio inlinebl" for="TextBased"><strong> Text Based</strong></label>
<input type="radio" name="dealsType" id="Detailed" value="2">
<label class="radio inlinebl" for="Detailed"><strong>Detailed</strong></label>
<input type="radio" name="flightTypeGDS" id="flightTypeGDS" value="4" class="icheck-greens">
<label for="flightTypeGDS"><strong>GDS PNR</strong></label>
<input type="radio" name="dealsType" id="flightTypeGDSB" value="5" class="icheck-greens">
<label for="flightTypeGDSB"><strong>GDS Booking</strong></label>
</div>
<div class="QuickFlightHtmlDiv" id="gds-Detailed-tab" style="display:none;">
<div class="row no-padding leadeBorder2" style="padding-top:18px !important;min-height:500px;">
<div class="col-md-3">
<div class="form-group">
<label>Supplier Name </label>
<input type="text" name="supplier_name_gds" id="supplier_name_gds" value="" class="form-control whbg">
<input type="hidden" name="hidden_selected_supplier_sys_id_gds" id="hidden_selected_supplier_sys_id_gds" value="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>PNR <span class="red">*</span></label>
<textarea id="pnr_detail" name="pnr_detail" rows="3" style="height:auto;"></textarea>
</div>
</div>
<div class="col-md-3" >
<a class="btn btn-primary btn-sm " onclick="getFlightByPNR()">Submit</a>
</div>
<div class="col-md-12"> </div>
</div>
</div>
<div id="Detailed-tab" style="display:none;">
<div class="row no-padding leadeBorder2" style="padding-top:18px !important;">
<div class="col-md-3 QuickFlightHtmlDiv">
<div class="form-group">
<label>Supplier Name <span class="red">*</span></label>
<input type="text" name="supplier_name" id="supplier_name" value="" class="form-control whbg">
<input type="hidden" name="hidden_selected_supplier_sys_id" id="hidden_selected_supplier_sys_id" value="">
</div>
</div>
<div class="col-md-1 no-padding QuickFlightHtmlDiv">
<div class="form-group">
<label>Currency <span class="red">*</span></label>
<select id="currency_type_oneway" name="currency_type_oneway[]" class="demo-default select-country">
<option value="">Select</option>
<?php
if (!empty($arrCurrencyTypes)) {
foreach ($arrCurrencyTypes as $currency) {
?>
<option value="<?php echo $currency['CurrencyType']; ?>" <?php echo ($currency['CurrencyType'] == $this->intLoggedinUserTrxCurrency) ? 'selected' : ''; ?>><?php echo trim($currency['Symbol']); ?></option>
<?php
}
}
?>
</select>
</div>
</div>
<div class="col-md-8 text-right QuickFlightHtmlDiv">
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="refundable" value="1" class="icheck-green11 checkLength" un-checked> Refundable
<span class="checkmark"></span>
</label>
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="allowooking" value="1" class="icheck-green11 checkLength" un-checked>
Allow Payment <span class="checkmark"></span></label>
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="flightRateMayBeChange" value="1" class="icheck-green11 checkLength" un-checked>
Flight rate may be change <span class="checkmark"></span></label>
</div>
<div class="clear"></div>
<div class="col-md-12 QuickFlightHtmlDiv">
<div class="col-md-5">
<input type="radio" name="tripType" id="OnwayFlight" <?php echo ($route == 1) ? 'checked="checked"' : '';?>>
<label for="OnwayFlight"> <strong> One Way </strong></label>
<input type="radio" name="tripType" id="RoundTripFlight" <?php echo ($route == 2) ? 'checked="checked"' : '';?>>
<label for="RoundTripFlight"><strong>Round Trip</strong></label>
<input type="radio" name="tripType" id="MultiTripFlight" <?php echo ($route == 3) ? 'checked="checked"' : '';?> style="<?php echo ($route != 3) ? 'display:none;' : '';?>">
<label for="MultiTripFlight" style="<?php echo ($route != 3) ? 'display:none;' : '';?>"><strong>Multi Trip</strong></label>
</div>
<div class="col-md-3 CombinedPriceDiv" style="<?php echo ($route == 2) ? '' : 'display:none;';?>">
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="CombinedPrice" value="1" class="icheck-green11 CombinedPrice" <?php echo ($interNationalSearch == 1) ? 'checked' : '';?>>
Combined Price <span class="checkmark"></span>
</label>
</div>
</div>
<div class="col-md-12 alert no-margin-bot" style="padding-top:10px !important;">
<div id="FlightOnway-tab" style="<?php echo ($route == 1) ? '' : 'display:none;';?>">
<form method="POST" name="oneway" action="get-quick-proposal-for-flight" id="quickProposalForFlightOneWay" class="quickProposalForFlightOneWay">
<?php
//echo '<pre>';print_r($this->customerDetails);echo '</pre>';
?>
<input type="hidden" name="leadID" id="leadID" value="<?php
if (isset($this->leadId)) {
echo trim($this->leadId);
}
?>">
<input type="hidden" name="sac_code" id="sac_code" value="0">
<input type="hidden" name="gsttype" id="gsttype" value="1">
<input type="hidden" name="flightcount" id="flightcount" value="0">
<input type="hidden" name="CustomerSysId" id="CustomerSysId" value="<?php echo trim($this->customerDetails['CustomerSysId']); ?>" />
<input type="hidden" name="customername" id="customername" value="<?php echo trim($this->customerDetails['FirstName']); ?>" />
<input type="hidden" name="customerSysIdSel" id="customerId" value="">
<input type="hidden" name="tripType" id="tripType" value="1" />
<input type="hidden" name="JourneyType" id="JourneyType" value="1" />
<input type="hidden" name="emailID" id="emailID" value="<?php echo isset($this->customerDetails['EmailId']) ? trim($this->customerDetails['EmailId']) : 0; ?>">
<input type="hidden" name="IsB2BAgent" id="IsB2BAgent" value="<?php echo isset($this->customerDetails['IsB2BAgent']) ? trim($this->customerDetails['IsB2BAgent']) : 0; ?>">
<input type="hidden" name="aId" id="aId" value="<?php echo (isset($this->customerDetails['IsB2BAgent']) && $this->customerDetails['CreatedByUserSysId'] > 0) ? trim($this->customerDetails['CreatedByUserSysId']) : ''; ?>">
<input type="hidden" name="editLeadId" id="editLeadId" value="<?php echo (isset($sessionFlightSearchParams['editLeadId']) && !empty($sessionFlightSearchParams['editLeadId'])) ? $sessionFlightSearchParams['editLeadId'] : '' ?>">
<input type="hidden" name="isInternational" id="isInternational" value="<?php echo (isset($sessionFlightSearchParams['interNationalSearch']) && !empty($sessionFlightSearchParams['interNationalSearch'])) ? $sessionFlightSearchParams['interNationalSearch'] : '' ?>">
<div class="row QuickFlightHtmlDiv">
<div class="alert alert-graylight- border-hide">
<div id="FlightDetailRow3">
<div class="col-md-12 no-padding">
<div class="col-md-2">
<div class="form-group active">
<label>Airline Name <span class="red">*</span></label>
<input type="text" name="airline_name[3][]" id="airline_name_round31" onkeyup="getairlinename(3, 1)" value="" placeholder="Airline Name" class="form-control whbg">
<input type="hidden" name="hidden_selected_airline_sys_id[3][]" id="hidden_selected_airline_sys_id_round31" value="">
</div>
</div>
<div class="col-md-1 no-padding">
<div class="form-group active">
<label>Airline No <span class="red">*</span></label>
<input type="text" placeholder="Airline No" name="airlineNo[3][]" id="airlineNo_round31" value="" class="form-control whbg">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group active">
<label>From <span class="red">*</span></label>
<input type="text" name="source_place[3][]" seq="1" index="311" id="source_city_text_round31" placeholder="From" value="<?php echo (isset($sessionFlightSearchParams['sourceCityText']) && !empty($sessionFlightSearchParams['sourceCityText'])) ? (is_array($sessionFlightSearchParams['sourceCityText']) ? $sessionFlightSearchParams['sourceCityText'][0] : $sessionFlightSearchParams['sourceCityText']) : ''; ?>" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="source_place_id[3][]" id="airport_search_p_round311" value="<?php echo @isset($sessionFlightSearchParams['sourceCityAirportCode']) && !empty($sessionFlightSearchParams['sourceCityAirportCode']) ? (is_array($sessionFlightSearchParams['sourceCityAirportCode']) ? $sessionFlightSearchParams['sourceCityAirportCode'][0] : $sessionFlightSearchParams['sourceCityAirportCode']) : ''; ?>">
<input type="hidden" name="sourceCityId[3][]" id="sourceCityId_p_311" value="<?php echo @isset($sessionFlightSearchParams['sourceCityId']) && !empty($sessionFlightSearchParams['sourceCityId']) ? $sessionFlightSearchParams['sourceCityId'] : (is_array($sessionFlightSearchParams['sourceCityId']) ? $sessionFlightSearchParams['sourceCityId'][0] : $sessionFlightSearchParams['sourceCityId']); ?>">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group active">
<label>To <span class="red">*</span></label>
<input type="text" seq="2" name="destination_place[3][]" index="312" id="destination_city_text_round31" value="<?php echo isset($sessionFlightSearchParams['destinationCityText']) && !empty($sessionFlightSearchParams['destinationCityText']) ? (is_array($sessionFlightSearchParams['destinationCityText']) ? $sessionFlightSearchParams['destinationCityText'][0] : $sessionFlightSearchParams['destinationCityText']) : ''; ?>" placeholder="To" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="destination_place_id[3][]" id="airport_search_p_round312" value="<?php echo isset($sessionFlightSearchParams['destinationCityAirportCode']) && !empty($sessionFlightSearchParams['destinationCityAirportCode']) ? (is_array($sessionFlightSearchParams['destinationCityAirportCode']) ? $sessionFlightSearchParams['destinationCityAirportCode'][0] : $sessionFlightSearchParams['destinationCityAirportCode']) : ''; ?>">
<input type="hidden" name="destinationCityId[3][]" id="sourceCityId_p_312" value="<?php echo isset($sessionFlightSearchParams['destinationCityId']) && !empty($sessionFlightSearchParams['destinationCityId']) ? (is_array($sessionFlightSearchParams['destinationCityId']) ? $sessionFlightSearchParams['destinationCityId'][0] : $sessionFlightSearchParams['destinationCityId']) : ''; ?>">
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group active">
<label>Departure Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="departuredatetime31" name="departure_date_oneway[3][]" value="<?php echo isset($sessionFlightSearchParams['departure_dates']) && !empty($sessionFlightSearchParams['departure_dates']) ? (is_array($sessionFlightSearchParams['departure_dates']) ? $sessionFlightSearchParams['departure_dates'][0] : $sessionFlightSearchParams['departure_dates']) . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group active">
<label>Arrival Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="arrivaldatetime31" name="arrival_date_oneway[3][]" value="<?php echo isset($sessionFlightSearchParams['departure_dates']) && !empty($sessionFlightSearchParams['departure_dates']) ? (is_array($sessionFlightSearchParams['departure_dates']) ? $sessionFlightSearchParams['departure_dates'][0] : $sessionFlightSearchParams['departure_dates']) . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-1 no-padding-right">
<div class="form-group active">
<label>Duration <span class="red">*</span></label>
<input name="duration[3][]" id="EstimateHours31" class="form-control" placeholder="Duration">
</div>
</div>
<div class="col-md-1">
<div class="form-group active">
<a title="Add More" href="javascript:void(0)" class="addairline " onclick="addMoreAirlines(3)"><i class="fa fa-plus-circle" aria-hidden="true"></i> </a>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="table-responsive">
<table class="table tablestyle">
<thead>
<tr class="alert alert-graylight">
<th class="small smallbold" style="vertical-align:top; width:18%;">
<div class="qu_flt_propsal_mob_wth1"> </div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Pax </div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Cost (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Markup (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>" >
<div class="qu_flt_propsal_mob_wth">GST</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Total</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>ADULTS <span class="graytxt">(+12 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? @$adults = $sessionFlightSearchParams['adults'] : $adults = ''; ?>
<?php
if ($adults > 9) {
?>
<input type="text" id="adults_count_oneWay" name="adults_count_oneWay[]" class="form-control" value="<?= $adults ?>">
<?php } else { ?>
<select id="adults_count_oneWay" name="adults_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 1; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$adults == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
<?php } ?>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="cost_1" name="costAd[]" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="markup_1" name="markupAd[]" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" name="gst_roundTrip_in_1[]" id="gst_1">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="total_1" name="totalAd[]" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_1">
</tr>
<tr style="<?php echo ($child > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>CHILD <span class="graytxt">(2-11 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="child_count_oneWay" name="child_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$child == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costCh[]" id="cost_2" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupCh[]" id="markup_2" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><input type="text" name="costCh[]" id="cost_2" class="form-control whbg" value="" placeholder="Cost"></td>-->
<!-- <td class="small"><input type="text" name="markupCh[]" id="markup_2" class="form-control whbg" value="" placeholder="Markup"></td>-->
<!-- <td class="small"><input type="text" id="gst_2" readonly="" class="form-control whbg" value="18%" placeholder="GST"></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_2">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalCh[]" id="total_2" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_2">
</tr>
<tr style="<?php echo ($infant > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>INFANT <span class="graytxt">(0-2 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="infant_count_oneWay" name="infant_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$infant == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costIn[]" id="cost_3" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupIn[]" id="markup_3" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_3" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td>-->
<!-- <td class="small"><input type="text" name="costIn[]" id="cost_3" class="form-control whbg" value="" placeholder="Cost"></td>-->
<!-- <td class="small"><input type="text" name="markupIn[]" id="markup_3" class="form-control whbg" value="" placeholder="Markup"></td>-->
<!-- <td class="small"><input type="text" id="gst_3" readonly="" class="form-control whbg" value="18%" placeholder="GST"></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_3">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalIn[]" id="total_3" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_3">
</tr>
<tr>
<td class="large" align="left">
<div class="qu_flt_propsal_mob_wth1">Total Cost:</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_pax[]" readonly="" id="total_pax" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_cost[]" readonly="" id="total_cost" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_markup[]" readonly="" id="total_markup" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_gst[]" readonly="" id="total_gst" class="form-control whbg" readonly="" value="0" placeholder="GST"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="grand_total[]" readonly="" id="grand_total" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="col-md-12">
<div class="form-group1 align_margin_bottom_0">
<label>Fare rules</label>
<div class="editor-bord">
<textarea id="fareRuleOneWay"><?php echo (isset($this->getAgencyTnCDetails['TCFlightTicket'])) ? $this->getAgencyTnCDetails['TCFlightTicket'] : '';?></textarea>
</div>
<div style="display:none;">
<textarea id="fareRuleOneWayHtml" name="fareRuleOneWay"></textarea>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="shareWithWhatsappPOPQuick pl-25 pr-25" style="display:none;" id="WhatsappMsgcontentQuick"></div>
<div class="marg-top"></div>
<div class="col-md-12 no-padding" align="right">
<p id="msg1" style="text-align: center;"></p>
<p id="msg" style="text-align: center;"></p>
<button type="submit" class="btn btn-primary sendProposal" id="submitBtn">
Send Proposal
</button>
<a class="btn btn-primarygray btn-sm copy-wpquick-btn shareWithWhatsappPOPQuick" style="margin-right: 4px;display:none;" onclick="copyToClipboardWpQuick(1);">Copy to clipboard</a>
<a class="btn btn-success btn-sm pull-right shareWithWhatsappPOPQuick" style="display:none; color:#fff; background-color:#25D366;" onclick="shareWithWhatsappPOP('<?php echo $GetWhatsappUrl; ?>');"><i class="fa fa-whatsapp" aria-hidden="true"></i> Share on
whatsapp</a>
</div>
</form>
</div>
<div id="FlightOnway-tab1" style=" padding-bottom:10px !important; <?php echo ($route == 2) ? '' : 'display:none;';?>">
<form method="POST" name="roundtrip" action="get-quick-proposal-for-flight" id="quickProposalForFlightRoundTrip">
<input type="hidden" name="leadID" id="leadID" value="<?php
if (isset($this->leadId)) {
echo trim($this->leadId);
}
?>">
<input type="hidden" name="sac_code" id="sac_code" value="0">
<input type="hidden" name="gsttype" id="gsttype" value="1">
<input type="hidden" name="flightcount" id="flightcount" value="0">
<input type="hidden" name="CustomerSysId" id="CustomerSysId" value="<?php echo trim($this->customerDetails['CustomerSysId']); ?>" />
<input type="hidden" name="customername" id="customername" value="<?php echo trim($this->customerDetails['FirstName']); ?>" />
<input type="hidden" name="customerSysIdSel" id="customerId2" value="">
<input type="hidden" name="tripType" id="tripType" value="2" />
<input type="hidden" name="JourneyType" id="JourneyType" value="2" />
<input type="hidden" name="emailID" id="emailID" value="<?php echo isset($this->customerDetails['EmailId']) ? trim($this->customerDetails['EmailId']) : 0; ?>">
<input type="hidden" name="IsB2BAgent" id="IsB2BAgent" value="<?php echo isset($this->customerDetails['IsB2BAgent']) ? trim($this->customerDetails['IsB2BAgent']) : 0; ?>">
<input type="hidden" name="aId" id="aId" value="<?php echo (isset($this->customerDetails['IsB2BAgent']) && $this->customerDetails['CreatedByUserSysId'] > 0) ? trim($this->customerDetails['CreatedByUserSysId']) : ''; ?>">
<input type="hidden" name="editLeadId" id="editLeadId" value="<?php echo (isset($sessionFlightSearchParams['editLeadId']) && !empty($sessionFlightSearchParams['editLeadId'])) ? $sessionFlightSearchParams['editLeadId'] : '' ?>">
<input type="hidden" name="isInternational" id="isInternational" value="<?php echo (isset($sessionFlightSearchParams['interNationalSearch']) && !empty($sessionFlightSearchParams['interNationalSearch'])) ? $sessionFlightSearchParams['interNationalSearch'] : '' ?>">
<input type="hidden" id="countAirlines1" value="2">
<input type="hidden" id="countAirlines2" value="2">
<input type="hidden" id="countAirlines3" value="2">
<div class=" ">
<div class="QuickFlightHtmlDiv" >
<div id="FlightDetailRow1" class=" col-md-12 border-2 mb-10 alert alert-graylight- border-hide- no-margin-bot ">
<div class="col-md-12">
<h3 class="marg-top2">Out bound</h3>
</div>
<div class="col-md-12 no-padding">
<div class="col-md-2">
<div class="form-group active">
<label>Airline Name <span class="red">*</span></label>
<input type="text" name="airline_name[1][]" id="airline_name_round11" onkeyup="getairlinename(1, 1)" value="" placeholder="Airline Name" class="form-control whbg">
<input type="hidden" name="hidden_selected_airline_sys_id[1][]" id="hidden_selected_airline_sys_id_round11" value="">
</div>
</div>
<div class="col-md-1 no-padding">
<div class="form-group active">
<label>Airline No <span class="red">*</span></label>
<input type="text" placeholder="Airline No" name="airlineNo[1][]" id="airlineNo_round11" value="" class="form-control whbg">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group">
<label>From <span class="red">*</span></label>
<input type="text" name="source_place[1][]" seq="3" index="111" id="source_city_text_round11" placeholder="From" value="<?php echo @isset($sessionFlightSearchParams['sourceCityText']) && !empty($sessionFlightSearchParams['sourceCityText']) ? (is_array($sessionFlightSearchParams['sourceCityText']) ? $sessionFlightSearchParams['sourceCityText'][0] : $sessionFlightSearchParams['sourceCityText']) : ''; ?>" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="source_place_id[1][]" id="airport_search_p_round111" value="<?php echo @isset($sessionFlightSearchParams['sourceCityAirportCode']) && !empty($sessionFlightSearchParams['sourceCityAirportCode']) ? (is_array($sessionFlightSearchParams['sourceCityAirportCode']) ? $sessionFlightSearchParams['sourceCityAirportCode'][0] : $sessionFlightSearchParams['sourceCityAirportCode']) : ''; ?>">
<input type="hidden" name="sourceCityId[1][]" id="sourceCityId_p_111" value="<?php echo @isset($sessionFlightSearchParams['sourceCityId']) && !empty($sessionFlightSearchParams['sourceCityId']) ? (is_array($sessionFlightSearchParams['sourceCityId']) ? $sessionFlightSearchParams['sourceCityId'][0] : $sessionFlightSearchParams['sourceCityId']) : ''; ?>">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group">
<label>To <span class="red">*</span></label>
<input type="text" seq="4" index="112" name="destination_place[1][]" id="destination_city_text_round11" value="<?php echo isset($sessionFlightSearchParams['destinationCityText']) && !empty($sessionFlightSearchParams['destinationCityText']) ? (is_array($sessionFlightSearchParams['destinationCityText']) ? $sessionFlightSearchParams['destinationCityText'][0] : $sessionFlightSearchParams['destinationCityText']) : ''; ?>" placeholder="To" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="destination_place_id[1][]" id="airport_search_p_round112" value="<?php echo isset($sessionFlightSearchParams['destinationCityAirportCode']) && !empty($sessionFlightSearchParams['destinationCityAirportCode']) ? (is_array($sessionFlightSearchParams['destinationCityAirportCode']) ? $sessionFlightSearchParams['destinationCityAirportCode'][0] : $sessionFlightSearchParams['destinationCityAirportCode']) : ''; ?>">
<input type="hidden" name="destinationCityId[1][]" id="sourceCityId_p_112" value="<?php echo isset($sessionFlightSearchParams['destinationCityId']) && !empty($sessionFlightSearchParams['destinationCityId']) ? (is_array($sessionFlightSearchParams['destinationCityId']) ? $sessionFlightSearchParams['destinationCityId'][0] : $sessionFlightSearchParams['destinationCityId']) : ''; ?>">
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group">
<label>Departure Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="departuredatetime11" name="departure_date_oneway[1][]" value="<?php echo isset($sessionFlightSearchParams['departure_dates']) && !empty($sessionFlightSearchParams['departure_dates']) ? (is_array($sessionFlightSearchParams['departure_dates']) ? $sessionFlightSearchParams['departure_dates'][0] : $sessionFlightSearchParams['departure_dates']) . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group">
<label>Arrival Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="arrivaldatetime11" name="arrival_date_oneway[1][]" value="<?php echo isset($sessionFlightSearchParams['departure_dates']) && !empty($sessionFlightSearchParams['departure_dates']) ? (is_array($sessionFlightSearchParams['departure_dates']) ? $sessionFlightSearchParams['departure_dates'][0] : $sessionFlightSearchParams['departure_dates']) . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-2">
<div class="form-group active d-flex">
<label>Duration <span class="red">*</span></label>
<input name="duration[1][]" id="EstimateHours11" class="form-control" placeholder="Duration">
<a title="Add More" href="javascript:void(0)" class="addairline pl-15" onclick="addMoreAirlines(1)"><i class="fa fa-plus-circle" aria-hidden="true"></i> </a>
</div>
</div>
</div>
</div>
<div class="col-md-12 no-padding RoundTripCost" style="<?php echo ($interNationalSearch == 1) ? 'display:none;' : '';?>">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr class="alert alert-graylight">
<th class="small smallbold" style="vertical-align:top; width:18%;">
<div class="qu_flt_propsal_mob_wth1"> </div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Pax</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Cost (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Markup (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">GST</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Total</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>ADULTS <span class="graytxt">(+12 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? @$adults = $sessionFlightSearchParams['adults'] : $adults = ''; ?>
<?php
if ($adults > 9) {
?>
<input type="text" id="adults_count_roundTrip_in" name="adults_count_oneWay[]" class="form-control" value="<?= $adults ?>">
<?php } else { ?>
<select id="adults_count_roundTrip_in" name="adults_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 1; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$adults == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
<?php } ?>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="cost_roundTrip_in_1" name="costAd[]" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="markup_roundTrip_in_1" name="markupAd[]" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_roundTrip_in_1" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" name="gst_roundTrip_in_1[]" id="gst_roundTrip_in_1">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="total_roundTrip_in_1" name="totalAd[]" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_in_1">
</tr>
<tr style="<?php echo ($child > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>CHILD <span class="graytxt">(2-11 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="child_count_roundTrip_in" name="child_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$child == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costCh[]" id="cost_roundTrip_in_2" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupCh[]" id="markup_roundTrip_in_2" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_roundTrip_in_2" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_in_2">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalCh[]" id="total_roundTrip_in_2" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_in_2">
</tr>
<tr style="<?php echo ($infant > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>INFANT <span class="graytxt">(0-2 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="infant_count_roundTrip_in" name="infant_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$infant == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costIn[]" id="cost_roundTrip_in_3" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupIn[]" id="markup_roundTrip_in_3" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_roundTrip_in_3" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_in_3">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalIn[]" id="total_roundTrip_in_3" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_in_3">
</tr>
<tr>
<td class="large" align="left">
<div class="qu_flt_propsal_mob_wth1">Total Cost:</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_pax[]" readonly="" id="total_pax_roundTrip_in" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_cost[]" readonly="" id="total_cost_roundTrip_in" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_markup[]" readonly="" id="total_markup_roundTrip_in" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_gst[]" readonly="" id="total_gst_roundTrip_in" class="form-control whbg" readonly="" value="0" placeholder="GST"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="grand_total[]" readonly="" id="grand_total_roundTrip_in" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="clear"></div>
</div>
<div class="marg-top2"></div>
<div class="QuickFlightHtmlDiv" >
<div id="FlightDetailRow2" class="col-md-12 border-2 mb-10 alert alert-graylight- border-hide- no-margin-bot ">
<div class="col-md-12">
<h3 class="marg-top2">In bound</h3>
</div>
<div class="col-md-12 no-padding">
<div class="col-md-2">
<div class="form-group active">
<label>Airline Name <span class="red">*</span></label>
<input type="text" name="airline_name[2][]" id="airline_name_round21" onkeyup="getairlinename(2, 1)" value="" placeholder="Airline Name" class="form-control whbg">
<input type="hidden" name="hidden_selected_airline_sys_id[2][]" id="hidden_selected_airline_sys_id_round21" value="">
</div>
</div>
<div class="col-md-1 no-padding">
<div class="form-group active">
<label>Airline No <span class="red">*</span></label>
<input type="text" placeholder="Airline No" name="airlineNo[2][]" id="airlineNo_round21" value="" class="form-control whbg">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group">
<label>From <span class="red">*</span></label>
<input type="text" name="source_place[2][]" seq="5" index="211" id="source_city_text_round21" placeholder="From" value="<?php echo @isset($sessionFlightSearchParams['destinationCityText']) && !empty($sessionFlightSearchParams['destinationCityText']) ? (is_array($sessionFlightSearchParams['destinationCityText']) ? $sessionFlightSearchParams['destinationCityText'][0] : $sessionFlightSearchParams['destinationCityText']) : ''; ?>" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="source_place_id[2][]" id="airport_search_p_round211" value="<?php echo @isset($sessionFlightSearchParams['destinationCityAirportCode']) && !empty($sessionFlightSearchParams['destinationCityAirportCode']) ? (is_array($sessionFlightSearchParams['destinationCityAirportCode']) ? $sessionFlightSearchParams['destinationCityAirportCode'][0] : $sessionFlightSearchParams['destinationCityAirportCode']) : ''; ?>">
<input type="hidden" name="sourceCityId[2][]" id="sourceCityId_p_211" value="<?php echo @isset($sessionFlightSearchParams['sourceCityId']) && !empty($sessionFlightSearchParams['sourceCityId']) ? (is_array($sessionFlightSearchParams['sourceCityId']) ? $sessionFlightSearchParams['sourceCityId'][0] : $sessionFlightSearchParams['sourceCityId']) : ''; ?>">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group">
<label>To <span class="red">*</span></label>
<input type="text" seq="6" index="212" name="destination_place[2][]" id="destination_city_text_round21" value="<?php echo isset($sessionFlightSearchParams['sourceCityText']) && !empty($sessionFlightSearchParams['sourceCityText']) ? (is_array($sessionFlightSearchParams['sourceCityText']) ? $sessionFlightSearchParams['sourceCityText'][0] : $sessionFlightSearchParams['sourceCityText']) : ''; ?>" placeholder="To" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="destination_place_id[2][]" id="airport_search_p_round212" value="<?php echo isset($sessionFlightSearchParams['sourceCityAirportCode']) && !empty($sessionFlightSearchParams['sourceCityAirportCode']) ? (is_array($sessionFlightSearchParams['sourceCityAirportCode']) ? $sessionFlightSearchParams['sourceCityAirportCode'][0] : $sessionFlightSearchParams['sourceCityAirportCode']) : ''; ?>">
<input type="hidden" name="destinationCityId[2][]" id="sourceCityId_p_212" value="<?php echo isset($sessionFlightSearchParams['destinationCityId']) && !empty($sessionFlightSearchParams['destinationCityId']) ? (is_array($sessionFlightSearchParams['destinationCityId']) ? $sessionFlightSearchParams['destinationCityId'][0] : $sessionFlightSearchParams['destinationCityId']) : ''; ?>">
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group">
<label>Departure Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="departuredatetime21" name="departure_date_oneway[2][]" value="<?php echo isset($sessionFlightSearchParams['return_dates']) && !empty($sessionFlightSearchParams['return_dates']) ? (is_array($sessionFlightSearchParams['return_dates']) ? $sessionFlightSearchParams['return_dates'][0] : $sessionFlightSearchParams['return_dates']) . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group">
<label>Arrival Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="arrivaldatetime21" name="arrival_date_oneway[2][]" value="<?php echo isset($sessionFlightSearchParams['return_dates']) && !empty($sessionFlightSearchParams['return_dates']) ? (is_array($sessionFlightSearchParams['return_dates']) ? $sessionFlightSearchParams['return_dates'][0] : $sessionFlightSearchParams['return_dates']) . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-2 ">
<div class="form-group active d-flex">
<label>Duration <span class="red">*</span></label>
<input name="duration[2][]" id="EstimateHours21" class="form-control" placeholder="Duration">
<a title="Add More" href="javascript:void(0)" class="addairline pl-15" onclick="addMoreAirlines(2)"><i class="fa fa-plus-circle" aria-hidden="true"></i> </a>
</div>
</div>
</div>
</div>
<div class="col-md-12 no-padding " >
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr class="alert alert-graylight">
<th class="small smallbold" style="vertical-align:top; width:18%;">
<div class="qu_flt_propsal_mob_wth1"> </div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Pax</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Cost (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Markup (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">GST</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Total</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>ADULTS <span class="graytxt">(+12 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? @$adults = $sessionFlightSearchParams['adults'] : $adults = ''; ?>
<?php
if ($adults > 9) {
?>
<input type="text" id="adults_count_roundTrip_out" name="adults_count_oneWay[]" class="form-control" value="<?= $adults ?>">
<?php } else { ?>
<select id="adults_count_roundTrip_out" name="adults_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 1; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$adults == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
<?php } ?>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="cost_roundTrip_out_1" name="costAd[]" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="markup_roundTrip_out_1" name="markupAd[]" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_roundTrip_out_1" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" name="gst_roundTrip_out_1[]" id="gst_roundTrip_out_1">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="total_roundTrip_out_1" name="totalAd[]" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_out_1">
</tr>
<tr style="<?php echo ($child > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth"><label>CHILD <span class="graytxt">(2-11 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="child_count_roundTrip_out" name="child_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$child == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costCh[]" id="cost_roundTrip_out_2" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupCh[]" id="markup_roundTrip_out_2" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_roundTrip_out_2" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_out_2">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalCh[]" id="total_roundTrip_out_2" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_out_2">
</tr>
<tr style="<?php echo ($infant > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth"><label>INFANT <span class="graytxt">(0-2 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="infant_count_roundTrip_out" name="infant_count_oneWay[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$infant == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costIn[]" id="cost_roundTrip_out_3" class="form-control whbg" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupIn[]" id="markup_roundTrip_out_3" class="form-control whbg" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_roundTrip_out_3" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_out_3">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalIn[]" id="total_roundTrip_out_3" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_out_3">
</tr>
<tr>
<td class="large" align="left">
<div class="qu_flt_propsal_mob_wth1">Total Cost:</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_pax[]" readonly="" id="total_pax_roundTrip_out" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_cost[]" readonly="" id="total_cost_roundTrip_out" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_markup[]" readonly="" id="total_markup_roundTrip_out" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_gst[]" readonly="" id="total_gst_roundTrip_out" class="form-control whbg" readonly="" value="0" placeholder="GST"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="grand_total[]" readonly="" id="grand_total_roundTrip_out" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="clear"></div>
</div>
<div class="marg-top"></div>
<div class="col-md-12 no-padding QuickFlightHtmlDiv " >
<div class="table-responsive RoundTripCost" style="<?php echo ($interNationalSearch == 1) ? 'display:none;' : '';?>">
<table class="table table-bordered">
<thead>
<tr class="alert alert-graylight">
<th class="small smallbold" style="vertical-align:top; width:18%;">
<div class="qu_flt_propsal_mob_wth1"> </div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Total Ticket(s)</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Total Cost </div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Total Markup </div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">Total GST</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Total</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>ADULTS <span class="graytxt">(+12 YRS)</span></label></div>
</td>
<?php //if (isset($interNationalSearch) && $interNationalSearch == 1) {
?>
<!-- <td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php //isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? @$adults = $sessionFlightSearchParams['adults'] : $adults = '';
?>
<select id="pax_roundTrip_int_1" name="pax_roundTrip_1" class="demo-default select-country" placeholder="Select" readonly="">
<?php //for ($i = 1; $i <= FLIGHT_PASSENGERS_COUNT; $i++) {
?>
<option value="<?php echo $i; ?>" <?php if (@$adults == $i) echo "selected"; ?>><?php echo $i; ?></option>
<? php // }
?>
</select>
</div>
</td>-->
<?php //} else {
?>
<td class="small">
<div class="qu_flt_propsal_mob_wth"> <input type="text" name="pax_roundTrip_1" readonly="" id="pax_roundTrip_1" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<?php //}
?>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="cost_roundTrip_1" <?php echo isset($interNationalSearch) && $interNationalSearch == 1 ? '' : 'readonly=""'; ?> id="cost_roundTrip_1" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markup_roundTrip_1" <?php echo isset($interNationalSearch) && $interNationalSearch == 1 ? '' : 'readonly=""'; ?> id="markup_roundTrip_1" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_1" name="gst_roundTrip_1" readonly="">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_roundTrip_1" readonly="" id="total_roundTrip_1" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_int_1">
</tr>
<tr style="<?php echo ($child > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>CHILD <span class="graytxt">(2-11 YRS)</span></label></div>
</td>
<?php //if (isset($interNationalSearch) && $interNationalSearch == 1) {
?>
<!-- <td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php //isset($sessionFlightSearchParams['child']) && !empty($sessionFlightSearchParams['child']) ? $child = $sessionFlightSearchParams['child'] : $child = '';
?>
<select id="pax_roundTrip_int_2" name="pax_roundTrip_2" class="demo-default select-country" placeholder="Select" readonly="">
<?php //for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) {
?>
<option value="<?php echo $i; ?>" <?php if (@$child == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php //}
?>
</select>
</div>
</td>-->
<?php //} else {
?>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" readonly="" name="pax_roundTrip_2" id="pax_roundTrip_2" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<?php //}
?>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" <?php echo isset($interNationalSearch) && $interNationalSearch == 1 ? '' : 'readonly=""'; ?> name="cost_roundTrip_2" id="cost_roundTrip_2" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" <?php echo isset($interNationalSearch) && $interNationalSearch == 1 ? '' : 'readonly=""'; ?> name="markup_roundTrip_2" id="markup_roundTrip_2" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_2" name="gst_roundTrip_2" readonly="">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" readonly="" name="total_roundTrip_2" id="total_roundTrip_2" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_int_2">
</tr>
<tr style="<?php echo ($infant > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>INFANT <span class="graytxt">(0-2 YRS)</span></label></div>
</td>
<?php // if (isset($interNationalSearch) && $interNationalSearch == 1) {
?>
<!-- <td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php //isset($sessionFlightSearchParams['infant']) && !empty($sessionFlightSearchParams['infant']) ? @$infant = $sessionFlightSearchParams['infant'] : $infant = '';
?>
<select id="pax_roundTrip_int_3" name="pax_roundTrip_3" class="demo-default select-country" placeholder="Select" readonly="">
<?php //for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) {
?>
<option value="<?php echo $i; ?>" <?php if (@$infant == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php //}
?>
</select>
</div>
</td>-->
<?php // } else {
?>
<td class="small">
<div class="qu_flt_propsal_mob_wth"> <input type="text" readonly="" name="pax_roundTrip_3" id="pax_roundTrip_3" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<?php //}
?>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" <?php echo isset($interNationalSearch) && $interNationalSearch == 1 ? '' : 'readonly=""'; ?> name="cost_roundTrip_3" id="cost_roundTrip_3" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" <?php echo isset($interNationalSearch) && $interNationalSearch == 1 ? '' : 'readonly=""'; ?> name="markup_roundTrip_3" id="markup_roundTrip_3" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg" id="gst_roundTrip_3" name="gst_roundTrip_3" readonly="">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" readonly="" name="total_roundTrip_3" id="total_roundTrip_3" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_roundTrip_int_3">
</tr>
<tr>
<td class="large" align="left">
<div class="qu_flt_propsal_mob_wth1">Final Cost:</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_pax_roundTrip" readonly="" id="total_pax_roundTrip" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_cost_roundTrip" readonly="" id="total_cost_roundTrip" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_markup_roundTrip" readonly="" id="total_markup_roundTrip" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_gst_roundTrip" readonly="" id="total_gst_roundTrip" class="form-control whbg" readonly="" value="0" placeholder="GST"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="grand_total_roundTrip" readonly="" id="grand_total_roundTrip" class="form-control whbg" value="0" placeholder="Final Total"></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="form-group1">
<label>Fare rules</label>
<div class="editor-bord">
<textarea id="fareRuleRoundTrip"></textarea>
</div>
<div style="display:none;">
<textarea id="fareRuleRoundTripHtml" name="fareRuleOneWay"></textarea>
</div>
</div>
</div>
<div class="clear"></div>
<div class="shareWithWhatsappPOPQuick pl-25 pr-25" style="display:none;" id="WhatsappMsgcontentQuickRound"></div>
<div class="col-md-12" align="right">
<p id="msg2" style="text-align: center;"></p>
<button type="submit" class="btn btn-primary sendProposal1" id="submitBtn">
Send Proposal
</button>
<a class="btn btn-primarygray btn-sm copy-wpquick-btn shareWithWhatsappPOPQuick" style="margin-right: 4px;display:none;" onclick="copyToClipboardWpQuick(2);">Copy to clipboard</a>
<a class="btn btn-success btn-sm pull-right shareWithWhatsappPOPQuick" style="display:none; color:#fff; background-color:#25D366;" onclick="shareWithWhatsappPOP('<?php echo $GetWhatsappUrl; ?>');"><i class="fa fa-whatsapp" aria-hidden="true"></i> Share on
whatsapp</a>
</div>
<div class="clear"></div>
</div>
</form>
</div>
<div id="FlightOnway-tab2" style=" padding-bottom:10px !important; <?php echo ($route == 3) ? '' : 'display:none;';?>">
<form method="POST" name="multitrip" action="get-quick-proposal-for-flight" id="quickProposalForFlightMultiTrip">
<input type="hidden" name="leadID" id="leadID" value="<?php
if (isset($this->leadId)) {
echo trim($this->leadId);
}
?>">
<input type="hidden" name="sac_code" id="sac_code" value="0">
<input type="hidden" name="gsttype" id="gsttype" value="1">
<input type="hidden" name="flightcount" id="flightcount" value="0">
<input type="hidden" name="CustomerSysId" id="CustomerSysId" value="<?php echo trim($this->customerDetails['CustomerSysId']); ?>" />
<input type="hidden" name="customername" id="customername" value="<?php echo trim($this->customerDetails['FirstName']); ?>" />
<input type="hidden" name="customerSysIdSel" id="customerId4" value="">
<input type="hidden" name="tripType" id="tripType" value="3" />
<input type="hidden" name="JourneyType" id="JourneyType" value="3" />
<input type="hidden" name="emailID" id="emailID" value="<?php echo isset($this->customerDetails['EmailId']) ? trim($this->customerDetails['EmailId']) : 0; ?>">
<input type="hidden" name="IsB2BAgent" id="IsB2BAgent" value="<?php echo isset($this->customerDetails['IsB2BAgent']) ? trim($this->customerDetails['IsB2BAgent']) : 0; ?>">
<input type="hidden" name="aId" id="aId" value="<?php echo (isset($this->customerDetails['IsB2BAgent']) && $this->customerDetails['CreatedByUserSysId'] > 0) ? trim($this->customerDetails['CreatedByUserSysId']) : ''; ?>">
<input type="hidden" name="editLeadId" id="editLeadId" value="<?php echo (isset($sessionFlightSearchParams['editLeadId']) && !empty($sessionFlightSearchParams['editLeadId'])) ? $sessionFlightSearchParams['editLeadId'] : '' ?>">
<input type="hidden" name="isInternational" id="isInternational" value="<?php echo (isset($sessionFlightSearchParams['interNationalSearch']) && !empty($sessionFlightSearchParams['interNationalSearch'])) ? $sessionFlightSearchParams['interNationalSearch'] : '' ?>">
<div class=" ">
<?php $sci = 4;
if(is_array($sessionFlightSearchParams['sourceCityAirportCode'])){
//echo "<pre>";print_r($sessionFlightSearchParams);
foreach ($sessionFlightSearchParams['sourceCityAirportCode'] as $scKey => $scValue) {
?>
<div id="FlightDetailRow<?php echo $sci;?>" class="col-md-12 border-2 mb-10 alert alert-graylight- border-hide- no-margin-bot QuickFlightHtmlDiv">
<input type="hidden" id="countAirlines<?php echo $sci;?>" value="2">
<div class="col-md-12">
<h3 class="marg-top2 "><?php echo $scValue.' - '. $sessionFlightSearchParams['destinationCityAirportCode'][$scKey];?></h3>
</div>
<div class="col-md-12 no-padding">
<div class="col-md-2">
<div class="form-group active">
<label>Airline Name <span class="red">*</span></label>
<input type="text" name="airline_name[<?php echo $sci;?>][]" id="airline_name<?php echo $sci;?>1" onkeyup="getairlinenamemulti(<?php echo $sci;?>, 1)" value="" placeholder="Airline Name" class="form-control whbg">
<input type="hidden" name="hidden_selected_airline_sys_id[<?php echo $sci;?>][]" id="hidden_selected_airline_sys_id<?php echo $sci;?>1" value="">
</div>
</div>
<div class="col-md-1 no-padding">
<div class="form-group active">
<label>Airline No <span class="red">*</span></label>
<input type="text" placeholder="Airline No" name="airlineNo[<?php echo $sci;?>][]" id="airlineNo<?php echo $sci;?>1" value="" class="form-control whbg">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group">
<label>From <span class="red">*</span></label>
<input type="text" name="source_place[<?php echo $sci;?>][]" seq="<?php echo $sci;?>" index="<?php echo $sci;?>11" id="source_city_text_round<?php echo $sci;?>1" placeholder="From" value="<?php echo isset($sessionFlightSearchParams['sourceCityText'][$scKey]) && !empty($sessionFlightSearchParams['sourceCityText'][$scKey]) ? $sessionFlightSearchParams['sourceCityText'][$scKey] : ''; ?>" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="source_place_id[<?php echo $sci;?>][]" id="airport_search_p_round<?php echo $sci;?>11" value="<?php echo isset($sessionFlightSearchParams['sourceCityAirportCode'][$scKey]) && !empty($sessionFlightSearchParams['sourceCityAirportCode'][$scKey]) ? $sessionFlightSearchParams['sourceCityAirportCode'][$scKey] : ''; ?>">
<input type="hidden" name="sourceCityId[<?php echo $sci;?>][]" id="sourceCityId_p_<?php echo $sci;?>11" value="<?php echo isset($sessionFlightSearchParams['sourceCityId'][$scKey]) && !empty($sessionFlightSearchParams['sourceCityId'][$scKey]) ? $sessionFlightSearchParams['sourceCityId'][$scKey] : ''; ?>">
</div>
</div>
<div class="col-md-2 no-padding-right">
<div class="form-group">
<label>To <span class="red">*</span></label>
<input type="text" seq="<?php echo $sci;?>" index="<?php echo $sci;?>12" name="destination_place[<?php echo $sci;?>][]" id="destination_city_text_round<?php echo $sci;?>1" value="<?php echo isset($sessionFlightSearchParams['destinationCityText'][$scKey]) && !empty($sessionFlightSearchParams['destinationCityText'][$scKey]) ? $sessionFlightSearchParams['destinationCityText'][$scKey] : ''; ?>" placeholder="To" class="form-control ui-autocomplete-input airport_search_round whbg">
<input type="hidden" name="destination_place_id[<?php echo $sci;?>][]" id="airport_search_p_round<?php echo $sci;?>12" value="<?php echo isset($sessionFlightSearchParams['destinationCityAirportCode'][$scKey]) && !empty($sessionFlightSearchParams['destinationCityAirportCode'][$scKey]) ? $sessionFlightSearchParams['destinationCityAirportCode'][$scKey] : ''; ?>">
<input type="hidden" name="destinationCityId[<?php echo $sci;?>][]" id="sourceCityId_p_<?php echo $sci;?>12" value="<?php echo isset($sessionFlightSearchParams['destinationCityId'][$scKey]) && !empty($sessionFlightSearchParams['destinationCityId'][$scKey]) ? $sessionFlightSearchParams['destinationCityId'][$scKey] : ''; ?>">
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group">
<label>Departure Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="departuredatetime<?php echo $sci;?>1" name="departure_date_oneway[<?php echo $sci;?>][]" value="<?php echo isset($sessionFlightSearchParams['departure_dates'][$scKey]) && !empty($sessionFlightSearchParams['departure_dates'][$scKey]) ? $sessionFlightSearchParams['departure_dates'][$scKey] . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-1-5 no-padding-right">
<div class="form-group">
<label>Arrival Date <span class="red">*</span></label>
<input autocomplete="off" class="form-control whbg" type="text" id="arrivaldatetime<?php echo $sci;?>1" name="arrival_date_oneway[<?php echo $sci;?>][]" value="<?php echo isset($sessionFlightSearchParams['departure_dates'][$scKey]) && !empty($sessionFlightSearchParams['departure_dates'][$scKey]) ? $sessionFlightSearchParams['departure_dates'][$scKey] . ' ' . date('H:i') : ''; ?>" placeholder="DD/MM/YYYY" />
</div>
</div>
<div class="col-md-2">
<div class="form-group active d-flex">
<label>Duration <span class="red">*</span></label>
<input name="duration[<?php echo $sci;?>][]" id="EstimateHours<?php echo $sci;?>1" class="form-control" placeholder="Duration">
<a title="Add More" href="javascript:void(0)" class="addairline pl-15" onclick="addMoreAirlines(<?php echo $sci;?>)"><i class="fa fa-plus-circle" aria-hidden="true"></i> </a>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<?php $sci++; } }?>
</div>
<div class="col-md-12 no-padding QuickFlightHtmlDiv">
<div class="table-responsive">
<table class="table tablestyle">
<thead>
<tr class="alert alert-graylight">
<th class="small smallbold" style="vertical-align:top; width:18%;">
<div class="qu_flt_propsal_mob_wth1"> </div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Pax </div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Cost (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top; width:15%;">
<div class="qu_flt_propsal_mob_wth">Markup (P.P.)</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>" >
<div class="qu_flt_propsal_mob_wth">GST</div>
</th>
<th class="small smallbold" style="vertical-align:top;width:15%;">
<div class="qu_flt_propsal_mob_wth">Total</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>ADULTS <span class="graytxt">(+12 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? @$adults = $sessionFlightSearchParams['adults'] : $adults = ''; ?>
<?php
if ($adults > 9) {
?>
<input type="text" id="adults_count_multi" name="adults_count_multi[]" class="form-control" value="<?= $adults ?>">
<?php } else { ?>
<select id="adults_count_multi" name="adults_count_multi[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 1; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$adults == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
<?php } ?>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="adult_cost_multi" name="costAd[]" class="form-control whbg calculatemulticost" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="adult_markup_multi" name="markupAd[]" class="form-control whbg calculatemulticost" value="" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg calculatemulticost" name="gst_multi[]" id="adult_gst_multi">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" id="adult_total_multi" name="totalAd[]" readonly="" class="form-control whbg " value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_1">
</tr>
<tr style="<?php echo ($child > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>CHILD <span class="graytxt">(2-11 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="child_count_multi" name="child_count_multi[]" class="demo-default select-country " placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$child == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costCh[]" id="child_cost_multi" class="form-control whbg calculatemulticost" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupCh[]" id="child_markup_multi" class="form-control whbg calculatemulticost" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><input type="text" name="costCh[]" id="cost_2" class="form-control whbg" value="" placeholder="Cost"></td>-->
<!-- <td class="small"><input type="text" name="markupCh[]" id="markup_2" class="form-control whbg" value="" placeholder="Markup"></td>-->
<!-- <td class="small"><input type="text" id="gst_2" readonly="" class="form-control whbg" value="18%" placeholder="GST"></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg calculatemulticost" id="child_gst_multi">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalCh[]" id="child_total_multi" readonly="" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_2">
</tr>
<tr style="<?php echo ($infant > 0) ? '' : 'display:none;';?>">
<td class="small">
<div class="qu_flt_propsal_mob_wth1"><label>INFANT <span class="graytxt">(0-2 YRS)</span></label></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="infant_count_multi" name="infant_count_multi[]" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$infant == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="costIn[]" id="infant_cost_multi" class="form-control whbg calculatemulticost" value="" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="markupIn[]" id="infant_markup_multi" class="form-control whbg calculatemulticost" value="" placeholder="Markup"></div>
</td>
<!-- <td class="small"><div class="qu_flt_propsal_mob_wth"><input type="text" id="gst_3" readonly="" class="form-control whbg" value="18%" placeholder="GST"></div></td>-->
<!-- <td class="small"><input type="text" name="costIn[]" id="cost_3" class="form-control whbg" value="" placeholder="Cost"></td>-->
<!-- <td class="small"><input type="text" name="markupIn[]" id="markup_3" class="form-control whbg" value="" placeholder="Markup"></td>-->
<!-- <td class="small"><input type="text" id="gst_3" readonly="" class="form-control whbg" value="18%" placeholder="GST"></td> -->
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth">
<select class="form-control whbg calculatemulticost" id="infant_gst_multi">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="totalIn[]" id="infant_total_multi" readonly="" class="form-control whbg " value="0" placeholder="Total"></div>
</td>
<input type="hidden" value="" id="hidden_gst_3">
</tr>
<tr>
<td class="large" align="left">
<div class="qu_flt_propsal_mob_wth1">Total Cost:</div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_pax[]" readonly="" id="total_pax_multi" class="form-control whbg" value="0" placeholder="Pax"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_cost[]" readonly="" id="total_cost_multi" class="form-control whbg" value="0" placeholder="Cost"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_markup[]" readonly="" id="total_markup_multi" class="form-control whbg" value="0" placeholder="Markup"></div>
</td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="total_gst[]" readonly="" id="total_gst_multi" class="form-control whbg" readonly="" value="0" placeholder="GST"></div>
</td>
<td class="small">
<div class="qu_flt_propsal_mob_wth"><input type="text" name="grand_total[]" readonly="" id="grand_total_multi" class="form-control whbg" value="0" placeholder="Total"></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="form-group1">
<label>Fare rules</label>
<div class="editor-bord">
<textarea id="fareRuleMultiTrip"></textarea>
</div>
<div style="display:none;">
<textarea id="fareRuleMultiTripHtml" name="fareRuleOneWay"></textarea>
</div>
</div>
</div>
<div class="clear"></div>
<div class="shareWithWhatsappPOPQuick pl-25 pr-25" style="display:none;" id="WhatsappMsgcontentQuickMulti"></div>
<div class="col-md-12" align="right">
<p id="msg3" style="text-align: center;"></p>
<button type="submit" class="btn btn-primary sendProposal2" id="submitBtn">
Send Proposal
</button>
<a class="btn btn-primarygray btn-sm copy-wpquick-btn shareWithWhatsappPOPQuick" style="margin-right: 4px;display:none;" onclick="copyToClipboardWpQuick(2);">Copy to clipboard</a>
<a class="btn btn-success btn-sm pull-right shareWithWhatsappPOPQuick" style="display:none; color:#fff; background-color:#25D366;" onclick="shareWithWhatsappPOP('<?php echo $GetWhatsappUrl; ?>');"><i class="fa fa-whatsapp" aria-hidden="true"></i> Share on
whatsapp</a>
</div>
<div class="clear"></div>
</form>
</div>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>
<form method="POST" name="textBasedQuickProposal" id="textBasedQuickProposal" class="textBasedQuickProposal">
<div id="Detailed-tab1">
<input type="hidden" name="leadID" id="leadID" value="<?php
if (isset($this->leadId)) {
echo trim($this->leadId);
}
?>">
<input type="hidden" name="sac_code" id="sac_code" value="0">
<input type="hidden" name="gsttype" id="gsttype" value="1">
<input type="hidden" name="flightcount" id="flightcount" value="0">
<input type="hidden" name="CustomerSysId" id="CustomerSysId" value="<?php echo trim($this->customerDetails['CustomerSysId']); ?>" />
<input type="hidden" name="customername" id="customername" value="<?php echo trim($this->customerDetails['FirstName']); ?>" />
<input type="hidden" name="customerSysIdSel" id="customerId3" value="">
<input type="hidden" name="tripType" id="tripType" value="1" />
<input type="hidden" name="JourneyType" id="JourneyType" value="1" />
<input type="hidden" name="emailID" id="emailID" value="<?php echo isset($this->customerDetails['EmailId']) ? trim($this->customerDetails['EmailId']) : 0; ?>">
<input type="hidden" name="IsB2BAgent" id="IsB2BAgent" value="<?php echo isset($this->customerDetails['IsB2BAgent']) ? trim($this->customerDetails['IsB2BAgent']) : 0; ?>">
<input type="hidden" name="aId" id="aId" value="<?php echo (isset($this->customerDetails['IsB2BAgent']) && $this->customerDetails['CreatedByUserSysId'] > 0) ? trim($this->customerDetails['CreatedByUserSysId']) : ''; ?>">
<input type="hidden" name="editLeadId" id="editLeadId" value="<?php echo (isset($sessionFlightSearchParams['editLeadId']) && !empty($sessionFlightSearchParams['editLeadId'])) ? $sessionFlightSearchParams['editLeadId'] : '' ?>">
<input type="hidden" name="isInternational" id="isInternational" value="<?php echo (isset($sessionFlightSearchParams['interNationalSearch']) && !empty($sessionFlightSearchParams['interNationalSearch'])) ? $sessionFlightSearchParams['interNationalSearch'] : '' ?>">
<div class="row no-padding leadeBorder2 " style="padding-top:10px !important; padding-bottom:10px !important;">
<div class="col-md-3">
<div class="form-group">
<label>Supplier Name <span class="red">*</span></label>
<input type="text" name="supplier_name_text" id="supplier_name_text" value="" class="form-control whbg">
<input type="hidden" name="hidden_selected_supplier_sys_text_id" id="hidden_selected_supplier_sys_text_id" value="">
</div>
</div>
<div class="col-md-9 text-right" style="display:none;">
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="refundable" value="1" class="icheck-green11 checkLength" un-checked> Refundable
<span class="checkmark"></span>
</label>
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="allowooking" value="1" class="icheck-green11 checkLength" un-checked>
Allow Payment <span class="checkmark"></span></label>
<label class="checkbox_popup leftsidearea checkbox_width_auto directcheckbox_popup">
<input type="checkbox" name="flightRateMayBeChange" value="1" class="icheck-green11 checkLength" un-checked>
Flight rate may be change <span class="checkmark"></span></label>
</div>
<div class="col-md-12 ">
<div class="editor-bord">
<textarea id="fareRuleTextBased"></textarea>
</div>
</div>
<div style="display:none;">
<textarea id="fareRuleTextBasedHtml" name="fareRuleTextBased"></textarea>
</div>
<div class="col-md-12">
<div class="marg-top"></div>
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr class="alert alert-graylight">
<th style="vertical-align:top; width:20%;"> </th>
<th style="vertical-align:top;">Pax</th>
<th style="vertical-align:top;"><strong>Cost (P.P.)</strong></th>
<th style="vertical-align:top;"><strong>Markup (P.P.)</strong></th>
<th style="vertical-align:top;" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>"><strong>GST</strong></th>
<th style="vertical-align:top;"><strong>Total</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td class="small"><label>ADULTS <span class="graytxt">(+12 YRS)</span></label></td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<?php isset($sessionFlightSearchParams['adults']) && !empty($sessionFlightSearchParams['adults']) ? @$adults = $sessionFlightSearchParams['adults'] : $adults = ''; ?>
<?php
if ($adults > 9) {
?>
<input type="text" id="adults_count_textBased" name="paxAdTx" class="form-control" value="<?= $adults ?>">
<?php } else { ?>
<select id="adults_count_textBased" name="paxAdTx" class="demo-default select-country" placeholder="Select">
<?php for ($i = 1; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (isset($adults) && $adults == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
<?php } ?>
</div>
</td>
<td class="small"><input type="text" class="form-control whbg" name="costAdTx" id="cost_textbased_1" value="" placeholder="Cost"></td>
<td class="small"><input type="text" class="form-control whbg" name="markupAdTx" id="markup_textbased_1" value="" placeholder="Markup"></td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<select class="form-control whbg" id="textBased_gst_1" name="AdtextBased" onchange="$('#markup_textbased_1').focus()">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</td>
<input type="hidden" value="" id="hidden_gst_textbased_1">
<td class="small"><input type="text" class="form-control whbg" name="totalAdTx" id="total_textbased_1" value="0" placeholder="Total" readonly></td>
</tr>
<?php $child = (isset($sessionFlightSearchParams['child']) && !empty($sessionFlightSearchParams['child'])) ? $sessionFlightSearchParams['child'] : 0;
?>
<tr style="<?php echo ($child > 0) ? '' : 'display:none;';?>">
<td class="small"><label>CHILD <span class="graytxt">(2-11 YRS)</span></label></td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="child_count_textBased" name="paxChTx" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if ($child == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small"><input type="text" class="form-control whbg" name="costChTx" id="cost_textbased_2" value="" placeholder="Cost"></td>
<td class="small"><input type="text" class="form-control whbg" name="markupChTx" id="markup_textbased_2" value="" placeholder="Markup"></td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<select class="form-control whbg" id="textBased_gst_2" name="ChtextBased" onchange="$('#markup_textbased_2').focus()">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18" selected>18%</option>
<?php } ?>
</select>
</td>
<input type="hidden" value="" id="hidden_gst_textbased_2">
<td class="small"><input type="text" class="form-control whbg" name="totalChTx" id="total_textbased_2" value="0" placeholder="Total" readonly></td>
</tr>
<?php $infant = (isset($sessionFlightSearchParams['infant']) && !empty($sessionFlightSearchParams['infant'])) ? $sessionFlightSearchParams['infant'] : 0;
?>
<tr style="<?php echo ($infant > 0) ? '' : 'display:none;';?>">
<td class="small"><label>INFANT <span class="graytxt">(0-2 YRS)</span></label></td>
<td class="small">
<div class="qu_flt_propsal_mob_wth">
<select id="infant_count_textBased" name="paxInTx" class="demo-default select-country" placeholder="Select">
<?php for ($i = 0; $i <= FLIGHT_PASSENGERS_COUNT; $i++) { ?>
<option value="<?php echo $i; ?>" <?php if (@$infant == $i) echo "selected"; ?>><?php echo $i; ?></option>
<?php }
?>
</select>
</div>
</td>
<td class="small"><input type="text" class="form-control whbg" name="costInTx" id="cost_textbased_3" value="" placeholder="Cost"></td>
<td class="small"><input type="text" class="form-control whbg" name="markupInTx" id="markup_textbased_3" value="" placeholder="Markup"></td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>">
<select class="form-control whbg" id="textBased_gst_3" name="IntextBased" onchange="$('#markup_textbased_3').focus()">
<?php if (!empty($getTaxSettingDetail)) { ?>
<!-- <option value="18%">18%</option> -->
<?php foreach ($getTaxSettingDetail as $key => $taxVal) { ?>
<?php if ($taxVal['DefaultDisplay'] == 1) { ?>
<option value="<?php echo $taxVal['TaxPercentage']; ?>" <?php echo ($taxVal['DefaultSelect'] == 1) ? 'selected' : ''; ?>><?php echo $taxVal['TaxName']; ?></option>
<?php
}
}
} else {
?>
<option value="18%" selected>18%</option>
<?php } ?>
</select>
</td>
<input type="hidden" value="" id="hidden_gst_textbased_3">
<td class="small"><input type="text" class="form-control whbg" name="totalInTx" id="total_textbased_3" value="0" placeholder="Total" readonly></td>
</tr>
<tr>
<td class="large" align="left">Total Cost: </td>
<td class="small"><input type="text" class="form-control whbg" name="total_pax_textBased" value="0" placeholder="Total Pax" id="total_pax_textBased" readonly></td>
<td class="small"><input type="text" class="form-control whbg" name="total_cost_textBased" value="0" placeholder="Total Cost" id="total_cost_textBased" readonly></td>
<td class="small"><input type="text" class="form-control whbg" name="total_markup_textBased" value="0" placeholder="Total Markup" id="total_markup_textBased" readonly></td>
<td class="small" style="<?php echo ($TaxLabelId > 0) ? '' : 'display:none';?>"><input type="text" class="form-control whbg" name="total_gst_textBased" value="0" placeholder="Total GST" id="total_gst_textBased" readonly></td>
<td class="small"><input type="text" class="form-control whbg" name="grand_total_textBased" value="0" placeholder="Final Cost" id="grand_total_textBased" readonly></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="marg-top"></div>
<div class="col-md-12" align="right">
<p id="msg3" style="text-align: center;"></p>
<button type="submit" class="btn btn-primary textBasedProposal" id="submitBtnForTextBased">
Send Proposal
</button>
</div>
</div>
</form>
<div> </div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="flight-itinerary-content" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Flight Itinerary</h4>
</div>
<div class="modal-body" id="itinerary-response">
</div>
<div class="clear"></div>
</div>
</div>
</div>
<div class="modal fade" id="flight-baggage-info-content" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Baggage Information</h4>
</div>
<div class="modal-body" id="baggage-info-response">
</div>
</div>
</div>
</div>
<!--Inventory Flight Details Modal-->
<div class="modal fade col-md-12" id="inventory-flight-details-content" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Flight Details</h4>
</div>
<div class="modal-body" id="inventory-flight-details-response">
</div>
</div>
</div>
</div>
<!--Inventory Flight Details Modal-->
<div class="modal fade" id="flight-fare-rule-content" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Fare rules</h4>
</div>
<div class="modal-body" id="fare-rule-response">
</div>
</div>
</div>
</div>
<!-- for email popup -->
<div class="modal fade" id="addNewSupplierForm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<form name="frmAddSupplierInventory" id="frmAddSupplierInventory" method="post">
<input type="hidden" name="hidden_module_name" id="hidden_module_name" value="">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" onclick="closePop();" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Add Supplier </h4>
</div>
<div class="modal-body">
<div class="alert alert-danger" id="supplier-popup-error-message-box" style="display:none">
<span id="supplier-popup-error-message"></span>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Company Name<span class="red">*</span></label>
<input type="text" name="SupplierName" id="SupplierName" class="form-control whbg">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Supplier Name</label>
<input type="text" name="ContactPerson" maxlength="18" id="ContactPerson" class="form-control whbg">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Designation</label>
<input type="text" name="Designation" id="Designation" class="form-control whbg">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Contact Number<span class="red">*</span></label>
<div class="input-group textfieldMain_mobile">
<div class="country_details">
<div id="iti-flag" class="iti-flag in"></div>
<div class="iti-arrow"></div>
</div>
<div class="country_dropdown">
<div class="search_country">
<input type="text" name="" class="txtfield form-control" placeholder="Search countries" id="countries_list">
<div class="search_icon"></div>
</div>
<ul class="allcountries"></ul>
</div>
<div class="input-group-input">
<input type="text" class=" country_code form-control codeborder" readonly="readonly" id="mobile_code" name="countrycode" value="+91" style="padding:0px;">
<input type="hidden" class="txtfield code_icons" id="code_icons" name="code_icons" value="in">
</div>
<input type="text" name="ContactNo" id="mobileno" maxlength="15" value="" class="form-control whbg codeborder">
</div>
<!--<input type="text" name="ContactNo" maxlength="15" id="ContactNo" class="form-control whbg">-->
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Contact Email<span class="red">*</span></label>
<input type="text" name="EmailId" id="EmailId" class="form-control whbg">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Address</label>
<input type="text" name="Address" id="Address" class="form-control whbg">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Country<span class="red">*</span></label>
<input name="SupplierContId" id="ContId" type="text" class="form-control whbg" onkeyup="$('#hidden_supplier_country_id').val('');" placeholder="Country Name" value="" maxlength="25">
<!--<select name="ContId" id="ContId" class="form-control" placeholder="Select" onchange="populdateSupplierCities(this);">-->
<!--<option value="0">Select</option>-->
<!--<option value="//"></option>-->
<!--</select>-->
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>City<span class="red">*</span></label>
<input name="SupplierCitySysId" id="CitySysId" type="text" class="form-control whbg" placeholder="City Name" value="" onkeyup="getSupplierCityList();" maxlength="25">
<!-- <select id="CitySysId" name="CitySysId" class="form-control" placeholder="Select">
<option value="0">Select</option>
</select> -->
</div>
</div>
<div class="clear"></div>
</div>
<div class="modal-footer">
<input type="hidden" name="supplier_country_id" id="hidden_supplier_country_id" value="" />
<input type="hidden" name="supplier_city_id" id="hidden_supplier_city_id" value="" />
<button type="button" class="btn btn-primarygray btn-sm" onclick="closePop();">Cancel</button>
<button type="button" class="btn btn-warning btn-sm" onclick="addSupplier();">Submit</button>
</div>
</div>
</form>
</div>
</div>
<input type="hidden" name="intOutBoundId" id="intOutBoundId" value="" />
<!--- Itinerary, Baggage Information & Fare rules Modal Ends ---->
<?php echo $this->render('copyrightfooter.phtml'); ?>
<!--Page main section end -->
<!--Page main section end -->
<?php echo $this->render("newfooter.phtml"); ?>
<script>
var SITEURL = '<?php echo $baseUrl ?>';</script>
<script src="<?php echo $this->baseUrl('public/countrycode/script.js?rv=1144'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/assets/js/summernote.min.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/assets/js/jquery-ui.js'); ?>"></script>
<!--<script src="<?php //echo $this->baseUrl('public/assets/ckeditor/ckeditor.js');
?>"></script>-->
<script src="<?php echo $this->baseUrl('public/js/flight/flight_proposal.js?v=2'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/js/ng/angular.min.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/js/ng/angular-route.min.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/js/ng/app.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/js/ng/ngfactory.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/js/ng/ngsortingorder.js'); ?>"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js"></script>
<script src="<?php echo $this->baseUrl('public/js/ng/flight_search.js?v=1234'); ?>"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/js/bootstrap-multiselect.js"></script>
<script type="text/javascript">
$(function() {
var SearchID = $('#searchids').val();
setTimeout(function() {
$('.searchfrm_alignflight input[type="checkbox"]:checked').trigger('click');
angular.element(document.getElementById('divID')).scope().SearchResult(JSON.parse(SearchID));
}, 1000);
$('#PreferredAirline__ssss').multiselect({
includeSelectAllOption: true,
});
});</script>
<script>
$('.custMember').click(function() {
var value = this.checked ? $(this).val() : '';
if (value == 0 || value == 2) {
$(".discountBox").prop('disabled', false);
} else {
$(".discountBox").prop('disabled', true);
$(".discountBox").val(0);
}
// $(".ContinueAccept").prop('disabled', true);
//$('#textInput').prop('disabled', this.checked).val(value);
});
jQuery('.dropdown-menu.keep-open').on('click', function(e) {
e.stopPropagation();
});
function ClickInternational() {
// alert('mmm');
$(".international_roundtrip").css("display", "none");
$(".flight_padresinternational").toggleClass("sorting_container_padding");
}
$(document).ready(function() {
$('.refresh_textsingle').click(function() {
var checked = $('.filter-box input[type="checkbox"]:checked').length;
if (checked >= 1) {
$('.filter-box input[type="checkbox"]:checked').trigger('click');
}
});
$('.refresh_textround').click(function() {
var checked = $('.filter-box-round input[type="checkbox"]:checked').length;
if (checked >= 1) {
$('.filter-box-round input[type="checkbox"]:checked').trigger('click');
}
});
$("#flightpropsal").click(function() {
// alert('proposal');
$(".proposalbox").toggle();
$('html, body').animate({
scrollTop: $(".proposalbox").offset().top - 0
}, 200);
});
$("#flightsorting").click(function() {
// alert('proposal');
$(".sortbycontainer").toggle();
$(".sortbycontainer").focus();
$(".flight_padresinternational").toggleClass("sorting_container_padding");
$('html, body').animate({
scrollTop: $(".sortbycontainer").offset().top - 0
}, 200);
});
$("#sortfilterclose").click(function() {
// alert('cloe');
$(".sortbycontainer").css("display", "none");
});
$("#flightfilter").click(function() {
// alert('proposal');
$(".filterByContainer").toggle();
// $(".filterByContainer").addClass('fixedfilter_width');
// $(".query_listing_bg3").addClass('fixedfilter_width2');
$('html, body').animate({
scrollTop: $(".filterByContainer").offset().top - 0
}, 200);
});
/* $("#intsortfilterclose").click(function() {
alert('close');
$(".international_roundtrip").css("display", "none");
});*/
$("#flightfilterclose").click(function() {
// alert('cloe');
$(".filterByContainer").css("display", "none");
});
$("#poposalclose").click(function() {
// alert('cloe');
$(".proposalbox").css("display", "none");
});
$(".email-checkbox").click(function() {
alert('cloe');
$("#mobile_emailshow").toggle();
});
});
<?php if ($mydevice == "mobile") { ?>
$(document).ready(function() {
// alert('manish');
$('html, body').animate({
scrollTop: $("#divnonetop").offset().top - 10
}, 0);
});
<?php } ?>
</script>
<?php if (isset($sessionFlightSearchParams['typeQuick']) && (trim($sessionFlightSearchParams['typeQuick']) == 'quick')) { ?>
<script type="text/javascript">
$(document).ready(function() {
function closeModalBox(modalid) {
$("#" + modalid).modal('hide');
}
$('.loderFlightHtml').hide();
$('.checkleadcustomer').click();
})
</script>
<?php } ?>
<script type="text/javascript">
function popup(url, width, height) {
width = typeof width !== 'undefined' ? width : 400;
height = typeof height !== 'undefined' ? height : 400;
var x = screen.width / 2 - 500 / 2;
var y = screen.height / 2 - 450 / 2;
window.open(url, '', "height=" + height + ",width=" + width + ",left=" + x + ',top=' + y + ',titlebar=0,toolbar=0,scrollbars=1');
}
$(document).on('click', '.email-checkbox', function() {
var val = [];
$('.comision_checkbox :checkbox:checked').each(function(i) {
val[i] = $(this).val();
});
if (val.length > 0) {
$('#sharebox').show('slow');
$('.shareboxMob').show('slow');
$(".mbpropl_wdth11").addClass('mbpropl_wdth1');
$('#mobile_emailshow').show('slow');
} else {
$('#sharebox').hide('slow');
$('.shareboxMob').hide('slow');
$(".mbpropl_wdth11").removeClass('mbpropl_wdth1');
$('#mobile_emailshow').hide('slow');
}
});
// function myFunction() {
// // Get the checkbox
// var checkBox = document.getElementById("shareid");
// // Get the output text
// var text = document.getElementById("sharebox");
// var val = [];
// $('.comision_checkbox :checkbox:checked').each(function(i) {
// val[i] = $(this).val();
// });
// if (val.length > 0) {
// $('#sharebox').show('slow');
// } else {
// $('#sharebox').hide('slow');
// }
// }
$(window).on('scroll', function() {
if ($(window).scrollTop() + $(window).height() >= $(document).height() - 300) {
$('.loadMoreNew').trigger('click');
$('.loadMoreRound').trigger('click');
}
});
$('.flight_padres').on('scroll', function() {
if ($(window).scrollTop() + $(window).height() >= $(document).height() - 300) {
$('.loadMoreNew').trigger('click');
$('.loadMoreRound').trigger('click');
}
});
$(document).on('click', '.sortingOne', function() {
$('.sroneway span').removeClass("sortpriceactive");
$(this).addClass("sortpriceactive");
$(this).children('i').toggleClass('fa-long-arrow-up fa-long-arrow-down');
});
$(document).on('click', '.sortingRound', function() {
$('.srtwoway span').removeClass("sortpriceactive");
$(this).addClass("sortpriceactive");
$(this).children('i').toggleClass('fa-long-arrow-up fa-long-arrow-down');
});
$(document).on('click', '.multicity_form_boxshow2', function() {
var index = $(this).attr('index');
$(".show_multicity_wrapper" + index).toggle("show_hiddenpart_hidden");
$("i", this).toggleClass("fa-chevron-circle-up fa-chevron-circle-down");
});
$(document).on('click', '.multicity_form_boxshow3', function() {
var index = $(this).attr('index');
$(".show_multicity_wrapper3" + index).toggle("show_hiddenpart_hidden");
$("i", this).toggleClass("fa-chevron-circle-up fa-chevron-circle-down");
});
$(document).on('click', '.edit_multicity_icond', function() {
if ($('li.FareRules').hasClass('active')) {
$('.FareRulesDiv').click();
}
});
$(document).on('click', '.FareRulesDiv', function() {
var IsLCC = $(this).attr('IsLCC');
var index = $(this).attr('index');
var TraceId = $(this).attr('data');
var supplier = $(this).attr('supplier');
var ApiResultIndex = $(this).attr('ResultIndex');
var SearchTraceId = $(this).attr('SearchTraceId');
var intOutBoundId = $('#intOutBoundId').val();
$.ajax({
type: "POST",
url: "<?php echo $baseUrl; ?>/flight/getflightfarerules",
dataType: 'json',
data: {
TraceId: TraceId,
ApiResultIndex: ApiResultIndex,
IsLCC: IsLCC,
supplier: supplier,
SearchTraceId: SearchTraceId,
intOutBoundId: intOutBoundId,
},
beforeSend: function() {
$("#FareRulesDiv_" + index).html('<div style="text-align:center;padding-top:30px;"><img src="<?= $baseUrl ?>/public/images/load1.gif"/></div>');
},
success: function(data) {
// console.log(data);
$("#FareRulesDiv_" + index).html(data.html);
}
});
});
$().ready(function() {
$("input[name=SupplierContId]").autocomplete({
source: '/register/autosuggest-country',
minLength: 3,
focus: function(event, ui) {
event.preventDefault();
//alert(ui.item.value);
$("#tags").val(ui.item.label);
},
select: function(event, ui) {
event.preventDefault();
$("input[name=SupplierContId]").val(ui.item.label);
$("#hidden_supplier_country_id").val(ui.item.value).trigger('change');
//set city blank
$("input[name=SupplierCitySysId]").val('');
$("#hidden_supplier_city_id").val('');
}
});
});
function getSupplierCityList() {
$('#hidden_supplier_city_id').val('');
var countryId = $('#hidden_supplier_country_id').val();
$("input[name=SupplierCitySysId]").autocomplete({
source: "/register/autosuggest-city?countryId=" + countryId,
minLength: 3,
focus: function(event, ui) {
event.preventDefault();
$("#tags").val(ui.item.label);
},
select: function(event, ui) {
event.preventDefault();
$("input[name=SupplierCitySysId]").val(ui.item.label);
$("#hidden_supplier_city_id").val(ui.item.value).trigger('change');
}
});
}
$(document).ready(function() {
$(window).scroll(function() {
if ($(this).scrollTop() > 100) {
// alert('testing maode');
$('#fixedfilter').addClass('headerfixed');
$('#sortingfixed').addClass('headerfixed2');
$('#roundleft_filter').addClass('headerfixedleft');
$('#roundright_filter').addClass('headerfixedright');
$('#sticky').addClass('headerfixed3');
} else {
$('#fixedfilter').removeClass('headerfixed');
$('#sortingfixed').removeClass('headerfixed2');
$('#roundleft_filter').removeClass('headerfixedleft');
$('#roundright_filter').removeClass('headerfixedright');
$('#sticky').removeClass('headerfixed3');
}
});
});
$(window).scroll(function() {
});
// start : Code is added by Er Amit kumar Dubey on 01 feb 2018 at 04:22 PM
function get_agencyname_autosuggest(inputId, hiddenInputId, AgencySysId) {
$('#' + hiddenInputId).val('');
$('#hidden_b2bagency_agencysysid').val('');
$('#' + inputId).typeahead({
items: 'all',
source: function(query, process) {
$('#' + hiddenInputId).val('');
var AgencySysId = $("#b2b_AgencySysId").val();
return $.ajax({
//url: '/general/suggest-city',
url: '/staff/autosuggest-agency-name',
type: 'post',
async: true,
data: {
query: query,
AgencySysId: AgencySysId
},
dataType: 'json',
success: function(result) {
var resultList = result.map(function(item) {
var aItem = {
FirstName: item.FirstName,
LastName: item.LastName,
EmailId: item.EmailId,
ContactNo1: item.ContactNo1,
UserSysId: item.UserSysId,
AgencySysId: item.AgencySysId,
label: item.label,
AgencyName: item.AgencyName
};
return JSON.stringify(aItem);
});
return process(resultList);
}
});
},
sorter: function(items) {
var beginswith = [],
caseSensitive = [],
caseInsensitive = [],
item;
while (aItem = items.shift()) {
var item = JSON.parse(aItem);
if (!item.label.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(JSON.stringify(item));
else if (~item.label.indexOf(this.query)) caseSensitive.push(JSON.stringify(item));
else caseInsensitive.push(JSON.stringify(item));
}
return beginswith.concat(caseSensitive, caseInsensitive)
},
highlighter: function(obj) {
var item = JSON.parse(obj);
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&');
return item.label.replace(new RegExp('(' + query + ')', 'ig'), function($1, match) {
return '<strong>' + match + '</strong>'
})
},
updater: function(item) {
var item = JSON.parse(item);
$('#' + hiddenInputId).val(item.UserSysId);
$('#hidden_b2bagency_agencysysid').val(item.AgencySysId);
$('#b2bagent_firstname').val(item.FirstName);
$('#b2bagent_lastname').val(item.LastName);
$('#b2bagent_mobilenum').val(item.ContactNo1);
$('#b2bagency_emailid').val(item.EmailId);
$('#aId').val('');
return item.AgencyName;
},
minLength: 2,
// displayField: 'Title',
}).focus();
}
$("#custemail").typeahead({
//items: 'all',
source: function(query, process) {
return $.ajax({
url: '/customer/getcustomerlist',
type: 'post',
async: true,
data: {
query: query,
IsB2BAgent: $("#IsB2BAgent").val()
},
dataType: 'json',
success: function(result) {
var resultList = result.map(function(item) {
var aItem = {
CustomerSysId: item.CustomerSysId,
EmailId: item.EmailId,
FullName: item.FullName,
FirstName: item.FirstName,
Email: item.Email,
Contacts: item.Contacts
};
return JSON.stringify(aItem);
});
return process(resultList);
}
});
},
sorter: function(items) {
var beginswith = [],
caseSensitive = [],
caseInsensitive = [],
item;
while (aItem = items.shift()) {
var item = JSON.parse(aItem);
if (!item.EmailId.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(JSON.stringify(item));
else if (~item.EmailId.indexOf(this.query)) caseSensitive.push(JSON.stringify(item));
else caseInsensitive.push(JSON.stringify(item));
}
return beginswith.concat(caseSensitive, caseInsensitive)
},
highlighter: function(obj) {
var item = JSON.parse(obj);
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&');
return item.EmailId.replace(new RegExp('(' + query + ')', 'ig'), function($1, match) {
return '<strong>' + match + '</strong>'
})
},
updater: function(item) {
var item = JSON.parse(item);
$('#emailID').val(item.Email);
$('#custname').val(item.FullName);
$('#custphone').val(item.Contacts);
return item.Email;
},
//minLength:3
// displayField: 'label',
});
function sticky_relocate() { //alert("HI")
var window_top = $(window).scrollTop();
var div_top = $('#filter-form').offset().top;
if (window_top > div_top) {
$('#sticky').addClass('stick');
$('.commision-link').show();
$('.scroll-commision-link').show();
$('.scroll-email-button').show();
} else {
$('#sticky').removeClass('stick');
$('.commision-link').hide();
$('.scroll-commision-link').hide();
$('.scroll-email-button').hide();
$('.toggle_commision').html($('.toggle_commision_link').html());
}
}
$(document).ready(function() { //alert("HI")
$(function() {
$(window).scroll(sticky_relocate);
sticky_relocate();
});
});
$("#flightTypeGDS").click(function() {
$('#TextBased').click();
popup('https://www.pnrconverter.com/', 1000, 600);
});
$("#flightTypeGDSB").click(function() {
$("#Detailed-tab").hide();
$("#Detailed-tab1").hide();
$("#gds-Detailed-tab").show();
});
$(function() {
$("#supplier_name").autocomplete({
source: '/flight/get-supplier-auto-search?type=flight',
minLength: 2,
select: function(event, ui) {
var SupplierSysId = ui.item.SupplierSysId;
if (SupplierSysId == 0) {
$("#hidden_selected_supplier_sys_id").val(SupplierSysId);
$("#supplier_name").val('');
addNewSupplierPopup();
} else {
$("#hidden_selected_supplier_sys_id").val(SupplierSysId);
}
}
});
});
function addNewSupplierPopup() {
document.getElementById("frmAddSupplierInventory").reset();
$("#supplier-popup-error-message-box").hide();
$("#hidden_module_name").val('package');
// $("#CitySysId").html('<option value="0">Select</option>');
$("#addNewSupplierForm").modal();
}
$(function() {
$("#supplier_name_text").autocomplete({
source: '/flight/get-supplier-auto-search',
minLength: 2,
select: function(event, ui) {
var SupplierSysId = ui.item.SupplierSysId;
if (SupplierSysId == 0) {
$("#hidden_selected_supplier_sys_text_id").val(SupplierSysId);
$("#supplier_name_text").val('');
// addNewSupplierPopup();
} else {
$("#hidden_selected_supplier_sys_text_id").val(SupplierSysId);
}
}
});
$("#supplier_name_gds").autocomplete({
source: '/flight/get-supplier-auto-search',
minLength: 2,
select: function(event, ui) {
var SupplierSysId = ui.item.SupplierSysId;
if (SupplierSysId == 0) {
$("#hidden_selected_supplier_sys_id_gds").val(SupplierSysId);
$("#supplier_name_gds").val('');
// addNewSupplierPopup();
} else {
$("#hidden_selected_supplier_sys_id_gds").val(SupplierSysId);
}
}
});
});
$(function() {
$("#airline_name").autocomplete({
source: '/flight/getairlinenamesearch',
minLength: 2,
select: function(event, ui) {
var AirlineSysId = ui.item.AirlineSysId;
if (AirlineSysId == 0) {
$("#hidden_selected_airline_sys_id").val(AirlineSysId);
$("#airline_name").val('');
// addNewSupplierPopup();
} else {
$("#hidden_selected_airline_sys_id").val(AirlineSysId);
}
}
});
});
$(function() {
$("#airline_name_roundTrip_in").autocomplete({
source: '/flight/getairlinenamesearch',
minLength: 2,
select: function(event, ui) {
var AirlineSysId = ui.item.AirlineSysId;
if (AirlineSysId == 0) {
$("#hidden_selected_airline_sys_id_roundTrip_in").val(AirlineSysId);
$("#airline_name_roundTrip_in").val('');
// addNewSupplierPopup();
} else {
$("#hidden_selected_airline_sys_id_roundTrip_in").val(AirlineSysId);
}
}
});
});
$(function() {
$("#airline_name_roundTrip_out").autocomplete({
source: '/flight/getairlinenamesearch',
minLength: 2,
select: function(event, ui) {
var AirlineSysId = ui.item.AirlineSysId;
if (AirlineSysId == 0) {
$("#hidden_selected_airline_sys_id_roundTrip_out").val(AirlineSysId);
$("#airline_name_roundTrip_out").val('');
// addNewSupplierPopup();
} else {
$("#hidden_selected_airline_sys_id_roundTrip_out").val(AirlineSysId);
}
}
});
});
function getairlinename(type, index) {
$("#airline_name_round" + parseInt(type) +''+ parseInt(index)).typeahead({
items: 'all',
source: function (query, process) {
//$('.passenger_city').val('');
return $.ajax({
url: '/flight/getairlinenamesearch',
type: 'post',
data: { query: query },
dataType: 'json',
success: function (result) {
var resultList = result.map(function (item) {
var aItem = { AirlineSysId: item.AirlineSysId, label: item.label, Code: item.Code };
return JSON.stringify(aItem);
});
return process(resultList);
}
});
},
sorter: function (items) {
var beginswith = [], caseSensitive = [], caseInsensitive = [], item;
while (aItem = items.shift()) {
var item = JSON.parse(aItem);
if (!item.label.toLowerCase().indexOf(this.query.toLowerCase()))
beginswith.push(JSON.stringify(item));
else if (~item.label.indexOf(this.query))
caseSensitive.push(JSON.stringify(item));
else
caseInsensitive.push(JSON.stringify(item));
}
return beginswith.concat(caseSensitive, caseInsensitive)
},
highlighter: function (obj) {
var item = JSON.parse(obj);
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&');
return item.label.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {
return '<strong>' + match + '</strong>'
})
},
updater: function (item) {
var item = JSON.parse(item);
$("#hidden_selected_airline_sys_id_round" + parseInt(type) +''+ parseInt(index)).val(item.AirlineSysId);
$("#airlineNo_round" + parseInt(type) +''+ parseInt(index)).val(item.Code + '-');
return item.label;
},
minLength: 2
// displayField: 'label',
});
}
function getairlinenamemulti(type, index) {
$("#airline_name" + parseInt(type) +''+ parseInt(index)).typeahead({
items: 'all',
source: function (query, process) {
//$('.passenger_city').val('');
return $.ajax({
url: '/flight/getairlinenamesearch',
type: 'post',
data: { query: query },
dataType: 'json',
success: function (result) {
var resultList = result.map(function (item) {
var aItem = { AirlineSysId: item.AirlineSysId, label: item.label, Code: item.Code };
return JSON.stringify(aItem);
});
return process(resultList);
}
});
},
sorter: function (items) {
var beginswith = [], caseSensitive = [], caseInsensitive = [], item;
while (aItem = items.shift()) {
var item = JSON.parse(aItem);
if (!item.label.toLowerCase().indexOf(this.query.toLowerCase()))
beginswith.push(JSON.stringify(item));
else if (~item.label.indexOf(this.query))
caseSensitive.push(JSON.stringify(item));
else
caseInsensitive.push(JSON.stringify(item));
}
return beginswith.concat(caseSensitive, caseInsensitive)
},
highlighter: function (obj) {
var item = JSON.parse(obj);
var query = this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&');
return item.label.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {
return '<strong>' + match + '</strong>'
})
},
updater: function (item) {
var item = JSON.parse(item);
$("#hidden_selected_airline_sys_id" + parseInt(type) +''+ parseInt(index)).val(item.AirlineSysId);
$("#airlineNo" + parseInt(type) +''+ parseInt(index)).val(item.Code + '-');
return item.label;
},
minLength: 2
// displayField: 'label',
});
}
function addMoreAirlines(type) {
var count = $('#countAirlines' + parseInt(type)).val();
var departuredatetime = $('#departuredatetime' + parseInt(type) + '1').val();
var arrivaldatetime = $('#arrivaldatetime' + parseInt(type) + '1').val();
var html = '<div class="col-md-12 no-padding AirlinesDetailRow'+type+''+count+'">'+
'<div class="col-md-12 no-padding bold">'+
'<div class="col-md-9 text-right mt-10">Transit Time</div><div class="col-md-2 no-padding-right"><div class="form-group active">'+
' '+
'<input name="TransitTime['+parseInt(type)+'][]" id="TransitTime'+type+''+(parseInt(count)-1)+'" class="form-control" placeholder="Transit Time">'+
'</div></div>'+
'<div class="col-md-1"></div></div>'+
'<div class="col-md-12 no-padding"><div class="col-md-2"><div class="form-group active">'+
'<label>Airline Name <span class="red">*</span></label>'+
'<input type="text" name="airline_name['+parseInt(type)+'][]" id="airline_name_round'+type+''+count+'" onkeyup="getairlinename('+type+','+count+')" value="" placeholder="Airline Name" class="form-control whbg">'+
'<input type="hidden" name="hidden_selected_airline_sys_id['+parseInt(type)+'][]" id="hidden_selected_airline_sys_id_round'+type+''+count+'" value="">'+
'</div></div><div class="col-md-1 no-padding"><div class="form-group active">'+
'<label>Airline No <span class="red">*</span></label>'+
'<input type="text" placeholder="Airline No" name="airlineNo['+parseInt(type)+'][]" id="airlineNo_round'+type+''+count+'" value="" class="form-control whbg">'+
'</div></div><div class="col-md-2 no-padding-right"><div class="form-group active">'+
'<label>From <span class="red">*</span></label>'+
'<input type="text" name="source_place['+parseInt(type)+'][]" seq="3" index="'+type+''+count+'1" id="source_city_text_round'+type+''+count+'" placeholder="From" value="" class="form-control ui-autocomplete-input airport_search_round whbg">'+
'<input type="hidden" name="source_place_id['+parseInt(type)+'][]" id="airport_search_p_round'+type+''+count+'1" value="">'+
'<input type="hidden" name="sourceCityId['+parseInt(type)+'][]" id="sourceCityId_p_'+type+''+count+'1" value="">'+
'</div></div><div class="col-md-2 no-padding-right"><div class="form-group active">'+
'<label>To <span class="red">*</span></label>'+
'<input type="text" seq="4" index="'+type+''+count+'2" name="destination_place['+parseInt(type)+'][]" id="destination_city_text_round'+type+''+count+'" placeholder="To" value="" class="form-control ui-autocomplete-input airport_search_round whbg">'+
'<input type="hidden" name="destination_place_id['+parseInt(type)+'][]" id="airport_search_p_round'+type+''+count+'2" value="">'+
'<input type="hidden" name="destinationCityId['+parseInt(type)+'][]" id="sourceCityId_p_'+type+''+count+'2" value="">'+
'</div></div><div class="col-md-1-5 no-padding-right"><div class="form-group active">'+
'<label>Departure Date <span class="red">*</span></label>'+
'<input autocomplete="off" class="form-control whbg" type="text" id="departuredatetime'+type+''+count+'" name="departure_date_oneway['+parseInt(type)+'][]" value="'+departuredatetime+'" placeholder="DD/MM/YYYY" />'+
'</div></div><div class="col-md-1-5 no-padding-right"><div class="form-group active">'+
'<label>Arrival Date <span class="red">*</span></label>'+
'<input autocomplete="off" class="form-control whbg" type="text" id="arrivaldatetime'+type+''+count+'" name="arrival_date_oneway['+parseInt(type)+'][]" value="'+arrivaldatetime+'" placeholder="DD/MM/YYYY" />'+
'</div></div><div class="col-md-1 no-padding-right"><div class="form-group active">'+
'<label>Duration <span class="red">*</span></label>'+
'<input name="duration['+parseInt(type)+'][]" id="EstimateHours'+type+''+count+'" class="form-control" placeholder="Duration">'+
'</div></div><div class="col-md-1 "><div class="form-group text-center">'+
'<a href="javascript://" class="textdelete" onclick="removeAirlines('+type+','+count+')"><i class="fa fa-minus-circle"></i></a>'+
' </div></div></div></div>';
$('#FlightDetailRow'+parseInt(type)).append(html);
$('#countAirlines' + parseInt(type)).val(parseInt(count)+1);
runDatePickerFlight(type,count);
airportSearchFlight();
}
function removeAirlines(type,count){
$('.AirlinesDetailRow'+type+''+count).remove();
}
function runDatePickerFlight(type,count){
$('#departuredatetime' + parseInt(type) + parseInt(count)).datetimepicker({
format: 'd/m/Y H:i',
sideBySide: true,
step: 5,
minDate: 0,
onChangeDateTime: function() {
$("#arrivaldatetime" + parseInt(type) + parseInt(count)).val($("#departuredatetime" + parseInt(
type) + parseInt(count)).val());
},
});
$('#arrivaldatetime' + parseInt(type) + parseInt(count)).datetimepicker({
format: 'd/m/Y H:i',
sideBySide: true,
step: 5,
onShow: function(ct) {
var departuredatetime = $("#departuredatetime" + parseInt(type) + parseInt(count)).val().split(
' ');
var depd = departuredatetime[0].split('/');
var day = depd[0];
var month = depd[1];
var year = depd[2];
this.setOptions({
value: ($('#arrivaldatetime' + parseInt(type) + parseInt(count)).val() != '') ? $(
'#arrivaldatetime' + parseInt(type) + parseInt(count)).val() : '',
minDate: ($('#departuredatetime' + parseInt(type) + parseInt(count)).val() != '') ?
year + "/" + month + "/" + day : false,
});
},
onChangeDateTime: function(ct, $input) {
var day = ct.getDate(); // month (in integer 0-11)
var month = ct.getMonth() + 1; // month (in integer 0-11)
var year = ct.getFullYear(); // year
var ArrvDate = $input.val().split(' ');
var Atime = ArrvDate[1];
var departuredatetime = $("#departuredatetime" + parseInt(type) + parseInt(count)).val().split(
' ');
var Dtime = departuredatetime[1];
var depd = departuredatetime[0].split('/');
var day2 = depd[0];
var month2 = depd[1];
var year2 = depd[2];
var startTime = new Date(year2 + "/" + month2 + "/" + day2 + " " + Dtime);
var endTime = new Date(year + "/" + month + "/" + day + " " + Atime);
var days = parseInt((endTime - startTime) / (1000 * 60 * 60 * 24));
var hours = parseInt(Math.abs(endTime - startTime) / (1000 * 60 * 60) % 24);
var minutes = parseInt(Math.abs(endTime.getTime() - startTime.getTime()) / (1000 * 60) %
60);
var seconds = parseInt(Math.abs(endTime.getTime() - startTime.getTime()) / (1000) % 60);
$('#EstimateHours' + parseInt(type) + parseInt(count)).val(hours + "h " + minutes + "m").focus();
},
});
}
runDatePickerFlight(1,1);
runDatePickerFlight(2,1);
runDatePickerFlight(3,1);
</script>
<?php $sci = 4;
foreach ($sessionFlightSearchParams['sourceCityAirportCode'] as $scKey => $scValue) {
?>
<script> runDatePickerFlight(<?php echo $sci;?>,1);</script>
<?php $sci++; } ?>
<script type="text/javascript">
// for making Airline Filter...
function loadAllAirlines() {
var allAirlineFlag = $("#allAirlineFlag").val();
var airlinesIds = $(".allAirlines").val();
if (allAirlineFlag == '0' && airlinesIds != "") {
$.ajax({
url: '/flight/get-searched-airlines',
data: {
airlinesIds: airlinesIds
},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {},
success: function(response) {
$("#allAirlineFlag").val("1");
if (response != "") {
$("#allAirlineResponse").html(response);
}
}
});
}
}
function loadAllPriceRange() {
var allPriceRangeFlag = $("#allPriceRangeFlag").val();
if (allPriceRangeFlag == '0') {
$.ajax({
url: '/flight/get-searched-pricerange',
data: {},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {},
success: function(response) {
$("#allPriceRangeFlag").val("1");
if (response != "") {
$("#allPriceRangeResponse").html(response);
}
}
});
}
}
// for making Airline Filter...
// $('.filterByPriceApply').click(function() {
// $(".dropdown").dropdown("hide");
// });
$('#filterByStopsApply').click(function() {
var checkedRatingChk = $('input:checkbox:checked.filterByStops').map(function() {
return this.value;
}).get();
if ($.trim(checkedRatingChk) != "") {
$("#filterByStops").val(checkedRatingChk);
} else {
$("#filterByStops").val('');
}
$("#filterFlag").val('0');
$("#scrollFlag").val('0');
$("#page").val('1');
loadFlightResults();
});
$('#filterByDepartureTimeApply').click(function() {
var checkedRatingChk = $('input:checkbox:checked.filterByDepartureTime').map(function() {
return this.value;
}).get();
if ($.trim(checkedRatingChk) != "") {
$("#filterByDepartureTime").val(checkedRatingChk);
} else {
$("#filterByDepartureTime").val('');
}
$("#filterFlag").val('0');
$("#scrollFlag").val('0');
$("#page").val('1');
loadFlightResults();
});
function orderBy() {
$("#onRequestDiv").removeClass('shortbyTabUp');
$("#onRequestDiv").removeClass('shortbyTabDown');
var orderBy = $("#orderBy").val();
if (orderBy == 'ASC') {
$("#orderByDiv").removeClass('shortbyTabUp');
$("#orderByDiv").addClass('shortbyTabDown');
$("#orderBy").val('DESC');
} else if (orderBy == 'DESC') {
$("#orderByDiv").removeClass('shortbyTabDown');
$("#orderByDiv").addClass('shortbyTabUp');
$("#orderBy").val('ASC');
}
$("#onRequest").val('');
$("#onRequestDiv").removeClass('shortbyTabUp');
$("#filterFlag").val('0');
$("#scrollFlag").val('0');
$("#page").val('1');
loadFlightResults();
}
function resetFilters(attribute) {
$('.' + attribute).iCheck('uncheck');
$("#" + attribute).val('');
$("#page").val('1');
loadFlightResults();
}
$('.toggle_commision').click(function() {
var lbl_txt = $.trim($(this).html());
if (lbl_txt == "Show Commission") {
$(this).html("Hide Commission");
$(".commissiontxt").show();
$(".commision_rate").show();
} else {
$(this).html("Show Commission");
$(".commissiontxt").hide();
$(".commision_rate").hide();
}
//$(".commissiontxt").toggle();
});
$(document).on('click', '.viewcommission', function() {
//$(".commision_rate").toggle();
var label = $(this).attr('data');
if (label == '1') {
$(".commision_rate").show();
$(".additional_fare_box").show();
$(this).attr('data', 0);
$(this).html('<i class="fa fa-times" aria-hidden="true"></i> Hide CM')
} else {
$(".commision_rate").hide();
$(".additional_fare_box").hide();
$(this).attr('data', 1);
$(this).html('<i class="fa fa-eye" aria-hidden="true"></i> View CM')
}
});
function loadFlightResults() {
var filterFlag = $("#filterFlag").val();
var scrollFlag = $("#scrollFlag").val();
var IntPageNumber = $("#page").val();
var filterByPrice = $("#filterByPrice").val();
var filterByStops = $("#filterByStops").val();
var filterByDepartureTime = $("#filterByDepartureTime").val();
var filterByAirlines = $("#filterByAirlines").val();
var orderBy = $("#orderBy").val();
$.ajax({
url: '/flight/search-result-new',
data: {
filterFlag: filterFlag,
page: IntPageNumber,
filterByPrice: filterByPrice,
filterByStops: filterByStops,
filterByDepartureTime: filterByDepartureTime,
filterByAirlines: filterByAirlines,
orderBy: orderBy
},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {
if (filterFlag == '1') {
$("body").css("overflow", "hidden");
setInterval(frame, 50);
$('.modalloader').show();
$('#progress-bar').show();
} else if (scrollFlag == '1') { //alert(scrollFlag)
$('#allairlines-scroll-loader').show();
} else {
$('.modalloader').show();
$("#allAirlineFlag").val("0");
$('#FILTER-INPROCESS').show();
}
},
success: function(response) { //alert(response)
<?php if ($strRoute == '1') { ?>
if (filterFlag == '1') {
$("body").css("overflow", "auto");
$('#progress-bar').hide();
$('.modalloader').hide();
$("#allairlines").html(response);
} else if (scrollFlag == '1') { //alert(scrollFlag)
$('#allairlines-scroll-loader').hide();
$("#allairlines").append(response);
//$("#recordsDisplayed").html($('.flight-list').length);
} else {
$('.modalloader').hide();
$("#allAirlineFlag").val("1");
$('#FILTER-INPROCESS').hide();
$("#allairlines").html(response);
}
$("#recordsDisplayed").html($('.flight-list').length);
$("#recordsDisplayedVal").val($('.flight-list').length);
$("#totalRecords").html($(".totalRecordCount").val());
<?php } else { ?>
<?php if ($interNationalSearch) { ?>
if (filterFlag == '1') {
$("body").css("overflow", "auto");
$('#progress-bar').hide();
$('.modalloader').hide();
$("#return_international").html(response);
} else if (scrollFlag == '1') { //alert(scrollFlag)
$('#allairlines-scroll-loader').hide();
$("#return_international").append(response);
} else {
$("#allAirlineFlag").val("1");
$('#FILTER-INPROCESS').hide();
$("#return_international").html(response);
$('.modalloader').hide();
}
$("#recordsDisplayed").html($('.flight-list').length);
$("#recordsDisplayedVal").val($('.flight-list').length);
$("#totalRecords").html($(".totalRecordCount").val());
<?php } else { ?>
//alert(response)
var resTXT = response.split("~~~");
if (filterFlag == '1') {
$("body").css("overflow", "auto");
$('#progress-bar').hide();
$('.modalloader').hide();
$("#singletrip tbody").html(resTXT[0]);
$("#roundtrip tbody").html(resTXT[1]);
} else if (scrollFlag == '1') { //alert(scrollFlag)
$('#allairlines-scroll-loader').hide();
$("#singletrip tbody").append(resTXT[0]);
$("#roundtrip tbody").append(resTXT[1]);
} else {
$("#allAirlineFlag").val("1");
$('#FILTER-INPROCESS').hide();
$("#singletrip tbody").html(resTXT[0]);
$("#roundtrip tbody").html(resTXT[1]);
$('.modalloader').hide();
}
//var recordsDisplayed = parseInt($('.flight-list-outBound tbody tr').length) + parseInt($('.flight-list-inBound tbody tr').length);
var recordsDisplayed = parseInt($('.flight-row').length);
$("#recordsDisplayedVal").val(recordsDisplayed);
$("#recordsDisplayed").html(recordsDisplayed);
$("#totalRecords").html($(".totalRecordCount").val());
<?php } ?>
<?php } ?>
$('.toggle_commision').html("Show Commission");
}
});
}
var width = 1;
function frame() {
if (width >= 98) {
//clearInterval(id);
} else {
width++;
$('.progress').css({
width: width + '%'
});
$('#percent_complete').html(width + '%');
//$('#percent_complete').html( 'Please wait fetching your results...');
//$('#percent_complete').html( width + '%');
}
}
//loadFlightResults();
var is_loading = false; // initialize is_loading by false to accept new loading
$(function() {
// $(window).scroll(function() {
// if ($(window).scrollTop() + $(window).height() == $(document).height()) { //alert("Scroll")
// $("#scrollFlag").val('1');
// $("#filterFlag").val('0');
// var intCurrentPage = $("#page").val();
// var intNextPageVal = parseInt(intCurrentPage) + 1;
// var totalRecordCount = $(".totalRecordCount").val();
// if (totalRecordCount == undefined) {
// totalRecordCount = 0;
// }
// var recordsDisplayed = parseInt($("#recordsDisplayedVal").val()); //parseInt($('.flight-list-outBound tbody tr').length) + parseInt($('.flight-list-inBound tbody tr').length);
// //var recordsDisplayed = parseInt(intCurrentPage) * <?php
//echo FLIGHT_SEARCH_PER_PAGE_LIMIT;
//
?>;
// //alert(totalRecordCount);
// if (totalRecordCount <= recordsDisplayed) {
// // set is_loading to true to refuse new loading
// is_loading = true;
// } else {
// is_loading = false;
// }
// if (is_loading == false) { // stop loading many times for the same page
// $("#page").val(intNextPageVal);
// // loadFlightResults();
// console.log('cc');
// } else {
// $('.no-records-found').hide();
// $('#noMoreRecords').show();
// }
// }
// });
});
$().ready(function() {
$("#modsrch").click(function() {
// alert('desktop');
$("#modsrchdetail").toggle();
$("#modsrchdetail").addClass('modify_searchwidth');
$("i.fa-plus").toggleClass("fa-plus large")
});
$(".modsrch").click(function() {
// alert('mobile');
$("#modsrchdetail").toggle();
$("#modsrchdetail").addClass('modify_searchwidth');
$("i.fa-plus").toggleClass("fa-plus large")
});
$("#editfrmclose").click(function() {
$("#modsrchdetail").toggle();
$("#modsrchdetail").removeClass('modify_searchwidth');
});
});</script>
<script type="text/javascript">
function getFlightItinerary(AirInvenSysId, IsInterNational = 0) {
$.ajax({
url: '/flight/get-flight-itinerary',
data: {
AirInvenSysId: AirInvenSysId,
IsInterNational: IsInterNational
},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {
$("#flight-itinerary-content").modal();
$("#itinerary-response").html('<div style="border-top:none; text-align:center; padding:10px;"><img src="<?php echo $this->baseUrl("public/assets/images/loader.gif"); ?>" ></div>');
},
success: function(response) { //alert(response)
$("#itinerary-response").html(response);
}
});
}
function getFlightFareRule(AirInvenSysId) {
$.ajax({
url: '/flight/get-flight-fare-rule',
data: {
AirInvenSysId: AirInvenSysId
},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {
$("#flight-fare-rule-content").modal();
$("#fare-rule-response").html('<div style="border-top:none; text-align:center; padding:10px;"><img src="<?php echo $this->baseUrl("public/assets/images/loader.gif"); ?>" ></div>');
},
success: function(response) { //alert(response)
$("#fare-rule-response").html(response);
}
});
}
function getFlightBaggageInformation(AirInvenSysId, IsInterNational = 0) {
$.ajax({
url: '/flight/get-flight-baggage-information',
data: {
AirInvenSysId: AirInvenSysId,
IsInterNational: IsInterNational
},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {
$("#flight-baggage-info-content").modal();
$("#baggage-info-response").html('<div style="border-top:none; text-align:center; padding:10px;"><img src="<?php echo $this->baseUrl("public/assets/images/loader.gif"); ?>" ></div>');
},
success: function(response) { //alert(response)
$("#baggage-info-response").html(response);
}
});
}
/* For Inventory Flight Booking */
function showInventoryFlightDetails(intAirInvenSysId) {
$.ajax({
url: '/flight/show-inventory-flight-details',
data: {
intAirInvenSysId: intAirInvenSysId
},
dataType: 'html',
type: 'POST',
error: function() {
},
beforeSend: function() {
$("#inventory-flight-details-content").modal();
$("#inventory-flight-details-response").html('<div style="border-top:none; text-align:center; padding:10px;"><img src="<?php echo $this->baseUrl("public/assets/images/loader.gif"); ?>" ></div>');
},
success: function(response) { //alert(response)
$("#inventory-flight-details-response").html(response);
}
});
}
/* For Inventory Flight Booking */
function fareQuoteDetails(intOutBoundId, intInBoundId, intFlightRoute, strUrlData, intPublishedFare = "0", IsInterNational = 0) {
// var intOutBoundId = '<?php echo $this->intOutBoundId ?>';
// var intInBoundId = '<?php echo $this->intInBoundId ?>';
// var intFlightRoute = '<?php echo $this->intFlightRoute ?>';
//alert(intOutBoundId)
$.ajax({
url: '/flight/fare-quote-details',
data: {
intOutBoundId: intOutBoundId,
intInBoundId: intInBoundId,
intFlightRoute: intFlightRoute,
IsInterNational: IsInterNational
},
dataType: 'json',
type: 'POST',
beforeSend: function() {
$('.modalloader').show();
if (intFlightRoute == 1 || IsInterNational) {
$('#recheck_rate_' + intOutBoundId).html("Please Wait ...");
} else {
$('#recheck_rate').html("Please Wait ...");
}
},
success: function(response) {
if (intFlightRoute == 1 || IsInterNational) {
$('#recheck_rate_' + intOutBoundId).html("Book Now");
} else {
$('#recheck_rate').html("Book Now");
}
if (response.success) {
$('.modalloader').hide();
if (response.IsPriceChanged) {
$("#flight-rate-changed").modal();
if (intPublishedFare == "0") {
$("#oldFare").html(parseFloat($("#total_fare_hidden").val()).toFixed(2));
} else {
$("#oldFare").html(intPublishedFare);
}
$("#updatedFare").html(response.intTotalUpdatedFare);
$("#continue").attr('href', '/flight/passenger-details/data/' + strUrlData);
return false;
}
location.href = "/flight/passenger-details/data/" + strUrlData;
} else {
var ErrorMessage = response.ErrorMessage;
$("#error-msg").html(ErrorMessage);
$("#flight-traceid-expired").modal();
//alert(response.arrResponseStatus.Response.ErrorMessage[0]);
}
}
});
}
function closeModal() {
$("#flight-rate-changed").modal('hide');
}
function addSupplier() {
var module_name = $("#hidden_module_name").val();
var data = $('#frmAddSupplierInventory').serialize();
$.ajax({
url: '/supplier/index/add-supplier',
data: data + '&page=popup',
type: 'POST',
dataType: 'json',
error: function() {
},
beforeSend: function() {
},
success: function(response) {
if (response.success) {
$("#hidden_selected_supplier_sys_id").val(response.intLastInsertId);
$("#supplier_name").val(response.supplierName);
if (module_name == "airline" || module_name == "activities" || module_name == "sightseeing" || module_name == "transport" || module_name == "package") {
$("#supplier_type_id").val(response.intLastInsertId);
$("#supplier_type").val(response.supplierName);
} else if (module_name == "transportsroute") {
$("#supplier_type_id").val(response.intLastInsertId);
$("#supplier_type").val(response.supplierName);
$("#supplier").val(response.supplierName);
}
if (response.page == 'popup') {
$('#addNewSupplierForm').modal('hide');
}
//alert(option);
} else {
$("#supplier-popup-error-message-box").css("display", "block");
$("#supplier-popup-error-message").html(response.msg);
}
}
});
return true;
}
function shareWithWhatsappPOP(url) {
var customerContact = $('#customerContactPOP').val();
var getMessageBody = $('#getMessageBodyPOP').val();
window.open(url + 'send?phone=' + customerContact + '&text=' + getMessageBody, '_blank');
}
$('#ccemail').selectize({
delimiter: ',',
persist: false,
create: function(input) {
return {
value: input,
text: input
};
}
});</script>
<script type="text/javascript">
</script>
<script type="text/javascript" src="<?php echo $this->baseUrl('public/assets/js/flight.js?v=11'); ?>"></script>
<script>
function copyToClipboardWp() {
$('.copy-wp-btn').html('Copying..');
var text = $('#getMessageBodyPOP').val();
var forText = text.replace(/%0a/gi, "\n");
var tempElement = document.createElement('div');
tempElement.innerHTML = forText.replace(/\n/g, "<br>");
document.body.appendChild(tempElement);
var range = document.createRange();
range.selectNode(tempElement);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
var copy = document.execCommand("copy");
$('.copy-wp-btn').html('Copied');
$('.copy-wp-btn').show();
if (copy == false) {
alert('Please click on Copy buttom again to copy content.');
$('.copy-wp-btn').html('Copy To Clipboard ');
}
document.body.removeChild(tempElement);
}
function copyToClipboardWpQuick(type) {
$('.copy-wpquick-btn').html('Copying..');
var text = $('#getMessageBodyPOP').val();
var forText = text.replace(/%0a/gi, "\n");
var tempElement = document.createElement('div');
tempElement.innerHTML = forText.replace(/\n/g, "<br>");
document.body.appendChild(tempElement);
var range = document.createRange();
range.selectNode(tempElement);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
var copy = document.execCommand("copy");
$('.copy-wpquick-btn').html('Copied');
$('.copy-wpquick-btn').show();
if (copy == false) {
alert('Please click on Copy buttom again to copy content.');
$('.copy-wpquick-btn').html('Copy To Clipboard ');
}
document.body.removeChild(tempElement);
}
</script>
<!-- Trace Id Expire Modal -->
<div class="modal fade col-md-12" id="flight-traceid-expired" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!--button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button-->
<h4 class="modal-title" id="myModalLabel">Session Timed Out</h4>
</div>
<div class="modal-body">
<div>
<h3>
<div style="text-align: center; line-height: 20px; font-size:17px;">
<i class="fa fa-fighter-jet"></i>
<span id="error-msg">Sorry, your session has timed out</span>
<br />
we suggest you go back and pick this flight again
</div>
</h3>
</div>
<div style="text-align:center; padding-top: 30px;">
<a style="" href="/flight/search-result">
<button class="btn btn-primary btn-round" id="modsrch">
<strong>Search Again</strong>
</button>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Trace Id Expire Modal -->
<!-- Rate Changed Modal -->
<div class="modal fade col-md-12" id="flight-rate-changed" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!--button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button-->
<h4 class="modal-title" id="myModalLabel">Price Changed</h4>
</div>
<div class="modal-body">
<div>
<h3>
<div style="text-align: center; line-height: 20px; font-size:17px;">
Flight fare has been changed from <span id="oldFare" style="color: red;"></span> to <span id="updatedFare" style="color: red;"></span>,Do you want to continue ?
</div>
</h3>
</div>
<div style="text-align:center; padding-top: 30px;">
<a href="javascript:void(0)" onclick="closeModal();"><button class="btn btn-danger"><strong>Cancel</strong></button></a>
<a id="continue" href="/flight/search-result"><button class="btn btn-danger"><strong>Continue</strong></button></a>
</div>
</div>
</div>
</div>
</div>
<!-- Rate Changed Modal -->