Fixed: incorrect information shown on Room type page Price tab for advance price rules

This commit is contained in:
vishalsingh.qlo325
2025-05-01 16:29:32 +05:30
parent 5e885e6843
commit 4aefc75b9b

View File

@@ -413,13 +413,6 @@ $(document).ready(function () {
<td>
{$featurePlan['feature_price_name']}
</td>
<td>
{if $featurePlan['impact_type'] == HotelRoomTypeFeaturePricing::IMPACT_TYPE_PERCENTAGE}
{l s='Percentage'}
{else}
{l s='Fixed Amount'}
{/if}
</td>
<td>
{if $featurePlan['impact_way'] == HotelRoomTypeFeaturePricing::IMPACT_WAY_DECREASE}
{l s='Decrease'}
@@ -427,6 +420,13 @@ $(document).ready(function () {
{l s='Increase'}
{/if}
</td>
<td>
{if $featurePlan['impact_type'] == HotelRoomTypeFeaturePricing::IMPACT_TYPE_PERCENTAGE}
{l s='Percentage'}
{else}
{l s='Fixed Amount'}
{/if}
</td>
<td>
{if $featurePlan['impact_type'] == HotelRoomTypeFeaturePricing::IMPACT_TYPE_PERCENTAGE}
{$featurePlan['impact_value']|round:2}%