Updated the variable names and function names for the max booking offeset and min booking offset

This commit is contained in:
vishalsingh.qlo325
2025-05-14 15:38:50 +05:30
parent 873d8845f9
commit bead6f9655
12 changed files with 43 additions and 47 deletions

View File

@@ -1414,7 +1414,7 @@ class AdminImportControllerCore extends AdminController
$objHotelOrderRestrictDate->use_global_min_booking_offset = true;
if (isset($info['max_booking_offset'])
&& (Configuration::get('GLOBAL_MIN_BOOKING_OFFSET') < $info['max_booking_offset']
&& (Configuration::get('PS_MIN_BOOKING_OFFSET') < $info['max_booking_offset']
|| isset($info['min_booking_offset']) && $info['min_booking_offset'] < $info['max_booking_offset'])
) {
$objHotelOrderRestrictDate->use_global_max_booking_offset = false;
@@ -1422,7 +1422,7 @@ class AdminImportControllerCore extends AdminController
}
if (isset($info['min_booking_offset'])
&& (Configuration::get('GLOBAL_MAX_BOOKING_OFFSET') > $info['min_booking_offset']
&& (Configuration::get('PS_MAX_BOOKING_OFFSET') > $info['min_booking_offset']
|| isset($info['max_booking_offset']) && $info['max_booking_offset'] > $info['min_booking_offset'])
) {
$objHotelOrderRestrictDate->use_global_min_booking_offset = false;