From b92a84c6f7c9561e07cb4b80b71d1208e33996e3 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 18 May 2022 20:21:20 +0530 Subject: [PATCH] Remove global price option when not needed from additional facilities edit for room type --- .../views/templates/hook/roomTypeDemands.tpl | 43 +++++++++++-------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/modules/hotelreservationsystem/views/templates/hook/roomTypeDemands.tpl b/modules/hotelreservationsystem/views/templates/hook/roomTypeDemands.tpl index ba6dd7040..90c2c7b0b 100644 --- a/modules/hotelreservationsystem/views/templates/hook/roomTypeDemands.tpl +++ b/modules/hotelreservationsystem/views/templates/hook/roomTypeDemands.tpl @@ -35,18 +35,23 @@   {$demand['name']|escape:'html':'UTF-8'}
-
- -
-
- {$defaultcurrencySign|escape:'html':'UTF-8'} - + {if isset($demand['adv_option']) && count($demand['adv_option'])} + + {else} +
+ +
+
+ {$defaultcurrencySign|escape:'html':'UTF-8'} + +
-
+ {/if} {if isset($demand['adv_option']) && $demand['adv_option']}