Skip to content

Commit

Permalink
Fix mobile rate
Browse files Browse the repository at this point in the history
  • Loading branch information
tohaaa committed Sep 9, 2022
1 parent 5243592 commit 42ba5d0
Show file tree
Hide file tree
Showing 4 changed files with 474 additions and 476 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Requires at least: 5.0.0
Tested up to: 5.3.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.4.15
Version: 1.4.16


== Description ==
Expand Down
2 changes: 1 addition & 1 deletion beedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin name: BeeDirect by Omnibees
Plugin uri: widgets.omnibees.com/manual
Description: Widgets to BeeDirect
Version: 1.4.15
Version: 1.4.16
Author: Omnibees
Author uri: www.omnibees.com
License: GPlv2 or Later
Expand Down
2 changes: 1 addition & 1 deletion widgets/price/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function start_price(){
"Cache-Control": "no-cache"
},
"processData": false,
"data": '{"EchoToken":"aab46c45b97d059671359e9bf122cc4a","TimeStamp":"'+timestampiso+'","Target":1,"Version":0,"PrimaryLangID":8,"AvailRatesOnly":true,"BestOnly":true,"OnRequestInd":true,"IsModify":false,"RequestedCurrency":<?php echo $settings['currency'] ?>,"HotelSearchCriteria":{"AvailableOnlyIndicator":false,"Criterion":{"RoomStayCandidatesType":{"RoomStayCandidates":[{"GuestCountsType":{"GuestCounts":[{"Age":null,"AgeQualifyCode":10,"Count":1}]},"Quantity":1,"RPH":0,"BookingCode":""}]},"HotelRefs":[{"ChainCode":null,"HotelCode":<?php echo $settings['hotel_id'] ?>}],"GetPricesPerGuest":true,"StayDateRange":{"Duration":null,"Start":"<?php echo date("Y-m-d"); ?>","End":"<?php echo date("Y-m-d", strtotime('tomorrow')); ?>"},"RatePlanCandidatesType":{"RatePlanCandidates":[{"GroupCode":null,"PromotionCode":null}]},"TPA_Extensions":{"MultimediaObjects": {"SendData": true},"IsForMobile":false,"RatePlanID":"0"}}}'
"data": '{"EchoToken":"aab46c45b97d059671359e9bf122cc4a","TimeStamp":"'+timestampiso+'","Target":1,"Version":0,"PrimaryLangID":8,"AvailRatesOnly":true,"BestOnly":true,"OnRequestInd":true,"IsModify":false,"RequestedCurrency":<?php echo $settings['currency'] ?>,"HotelSearchCriteria":{"AvailableOnlyIndicator":false,"Criterion":{"RoomStayCandidatesType":{"RoomStayCandidates":[{"GuestCountsType":{"GuestCounts":[{"Age":null,"AgeQualifyCode":10,"Count":1}]},"Quantity":1,"RPH":0,"BookingCode":""}]},"HotelRefs":[{"ChainCode":null,"HotelCode":<?php echo $settings['hotel_id'] ?>}],"GetPricesPerGuest":true,"StayDateRange":{"Duration":null,"Start":"<?php echo date("Y-m-d"); ?>","End":"<?php echo date("Y-m-d", strtotime('tomorrow')); ?>"},"RatePlanCandidatesType":{"RatePlanCandidates":[{"GroupCode":null,"PromotionCode":null}]},"TPA_Extensions":{"MultimediaObjects": {"SendData": true},"IsForMobile":true,"RatePlanID":"0"}}}'
};
$.when(
$.ajax(settings).done(function (response) {
Expand Down
Loading

0 comments on commit 42ba5d0

Please sign in to comment.