From 6269a4774329df521528e545f5e31765f11d09b9 Mon Sep 17 00:00:00 2001 From: dpradeep Date: Wed, 6 Aug 2014 16:35:38 +0530 Subject: [PATCH] VAT-568 Minor chnages to handled proper condition for text field. --- templates/CRM/Price/Form/PriceSet.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index 7171e5983e..025d949831 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -71,7 +71,7 @@ {if $element.is_display_amounts && $element.html_type eq 'Text'} {foreach item=option from=$element.options} - {if $option.tax_amount || $option.tax_amount == "0" && $displayOpt} + {if ($option.tax_amount || $option.tax_amount == "0") && $displayOpt} {assign var="amount" value=`$option.amount+$option.tax_amount`} {if $displayOpt == 'Do_not_show'} {$amount|crmMoney} -- 2.25.1