VAT-568 Minor chnages to handled proper condition for text field.
authordpradeep <pradeep.dorugade@webaccess.co.in>
Wed, 6 Aug 2014 11:05:38 +0000 (16:35 +0530)
committerdpradeep <pradeep.dorugade@webaccess.co.in>
Wed, 6 Aug 2014 11:05:38 +0000 (16:35 +0530)
templates/CRM/Price/Form/PriceSet.tpl

index 7171e5983ed35b83b0489c4a6e99e2c95057d6b1..025d9498316928b7b143b9edbe824a2f8a4c273b 100644 (file)
@@ -71,7 +71,7 @@
                   {if $element.is_display_amounts && $element.html_type eq 'Text'}
                     <span class="price-field-amount">
                       {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}