From 94d1b97e772519d3c230d7557773d520d7ed1742 Mon Sep 17 00:00:00 2001 From: dpradeep Date: Wed, 6 Aug 2014 18:41:25 +0530 Subject: [PATCH] VAT-569 Code Indentation --- templates/CRM/Contribute/Form/Contribution.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution.tpl b/templates/CRM/Contribute/Form/Contribution.tpl index 633e9979e7..1771dd0046 100644 --- a/templates/CRM/Contribute/Form/Contribution.tpl +++ b/templates/CRM/Contribute/Form/Contribution.tpl @@ -633,7 +633,7 @@ cj("#currency").on("change",function(){ }) cj('#total_amount').on("change",function(event) { -if(event.handled !== true) { + if (event.handled !== true) { var financialType = cj('#financial_type_id').val(); var taxRates = '{/literal}{$taxRates}{literal}'; var taxRates = JSON.parse(taxRates); @@ -651,10 +651,10 @@ if(event.handled !== true) { } var totalAmount = cj('#total_amount').val(); var totalTaxAmount = parseFloat(Number((taxRate/100)*totalAmount)+Number(totalAmount)).toFixed(2); - cj( "#totalTaxAmount" ).html('Total Amount : '+currencySymbol+' '+totalTaxAmount); + cj( "#totalTaxAmount" ).html('Total Amount : ' + currencySymbol + ' '+ totalTaxAmount); event.handled = true; - } - return false; + } + return false; }); {/literal} -- 2.25.1