diff --git a/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl b/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl
index d3d517b2f..1406be14c 100644
--- a/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl
+++ b/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl
@@ -31,7 +31,7 @@
{l s='Room Image'} |
{l s='Room Type'} |
{l s='Duration'} |
- {if $occupancy_wise_booking}
+ {if $occupancy_required_for_booking}
{l s='Occupancy'} |
{/if}
{l s='Unit Price (tax excl)'} |
@@ -61,7 +61,7 @@
{/if}
{dateFormat date=$data.date_from} - {dateFormat date=$data.date_to} |
- {if $occupancy_wise_booking}
+ {if $occupancy_required_for_booking}
|
- {if $order->occupnacy_wise_booking}
+ {if $order->is_occupnacy_provided}
|
- {if $order->occupnacy_wise_booking && $data['children']}
+ {if $order->is_occupnacy_provided && $data['children']}
|
- {if $occupancy_wise_booking}
+ {if $occupancy_required_for_booking}
@@ -395,7 +395,7 @@
| {l s='Duration' mod='hotelreservationsystem'} |
{l s='Room No.' mod='hotelreservationsystem'} |
{l s='Allotment Type' mod='hotelreservationsystem'} |
- {if $occupancy_wise_booking}
+ {if $occupancy_required_for_booking}
{l s='Guests' mod='hotelreservationsystem'} |
{/if}
{l s='Action' mod='hotelreservationsystem'} |
@@ -423,7 +423,7 @@
{/foreach}
|
- {if $occupancy_wise_booking}
+ {if $occupancy_required_for_booking}
@@ -733,7 +733,7 @@
{addJsDef max_child_age=$max_child_age}
{addJsDef max_child_in_room=$max_child_in_room}
{addJsDef occupancy_wise_search=$occupancy_wise_search|boolval}
- {addJsDef occupancy_wise_booking=$occupancy_wise_booking|boolval}
+ {addJsDef occupancy_required_for_booking=$occupancy_required_for_booking|boolval}
{addJsDefL name='select_age_txt'}{l s='Select age' js=1 mod='hotelreservationsystem'}{/addJsDefL}
{addJsDefL name='under_1_age'}{l s='Under 1' js=1 mod='hotelreservationsystem'}{/addJsDefL}
diff --git a/modules/wkroomsearchblock/wkroomsearchblock.php b/modules/wkroomsearchblock/wkroomsearchblock.php
index 433b7f198..582d529c5 100644
--- a/modules/wkroomsearchblock/wkroomsearchblock.php
+++ b/modules/wkroomsearchblock/wkroomsearchblock.php
@@ -163,7 +163,7 @@ class WkRoomSearchBlock extends Module
$maxOrderDate = Tools::getValue('max_order_date');
$maxOrderDate = date('Y-m-d', strtotime($maxOrderDate));
- if (Configuration::get('PS_FRONT_OCCUPANCY_WISE_BOOKING')) {
+ if (Configuration::get('PS_FRONT_OCCUPANCY_REQUIRED_FOR_BOOKING')) {
if ($occupancy = Tools::getValue('occupancy')) {
$urlData['occupancy'] = $occupancy;
}
diff --git a/themes/hotel-reservation-theme/_partials/booking-form.tpl b/themes/hotel-reservation-theme/_partials/booking-form.tpl
index 7a80bc093..999407e5c 100644
--- a/themes/hotel-reservation-theme/_partials/booking-form.tpl
+++ b/themes/hotel-reservation-theme/_partials/booking-form.tpl
@@ -35,7 +35,7 @@
{if $total_available_rooms > 0}
|