From 4aefc75b9bf06e4593ea544b9eb11b08528fae76 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Thu, 1 May 2025 16:29:32 +0530 Subject: [PATCH] Fixed: incorrect information shown on Room type page Price tab for advance price rules --- .../template/controllers/products/prices.tpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/themes/default/template/controllers/products/prices.tpl b/admin/themes/default/template/controllers/products/prices.tpl index b45c43e69..32fe8a418 100644 --- a/admin/themes/default/template/controllers/products/prices.tpl +++ b/admin/themes/default/template/controllers/products/prices.tpl @@ -413,13 +413,6 @@ $(document).ready(function () { {$featurePlan['feature_price_name']} - - {if $featurePlan['impact_type'] == HotelRoomTypeFeaturePricing::IMPACT_TYPE_PERCENTAGE} - {l s='Percentage'} - {else} - {l s='Fixed Amount'} - {/if} - {if $featurePlan['impact_way'] == HotelRoomTypeFeaturePricing::IMPACT_WAY_DECREASE} {l s='Decrease'} @@ -427,6 +420,13 @@ $(document).ready(function () { {l s='Increase'} {/if} + + {if $featurePlan['impact_type'] == HotelRoomTypeFeaturePricing::IMPACT_TYPE_PERCENTAGE} + {l s='Percentage'} + {else} + {l s='Fixed Amount'} + {/if} + {if $featurePlan['impact_type'] == HotelRoomTypeFeaturePricing::IMPACT_TYPE_PERCENTAGE} {$featurePlan['impact_value']|round:2}%