From fa1a821da360729b49073eb50d2ee7a9ed7c6cda Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 27 Jun 2020 17:38:13 +0100 Subject: [PATCH] Fix currency symbol for Total Amount on contribution page --- templates/CRM/Price/Form/Calculate.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Price/Form/Calculate.tpl b/templates/CRM/Price/Form/Calculate.tpl index 153fb4af44..2c6c7c0395 100644 --- a/templates/CRM/Price/Form/Calculate.tpl +++ b/templates/CRM/Price/Form/Calculate.tpl @@ -157,7 +157,7 @@ function display(totalfee) { // totalfee is monetary, round it to 2 decimal points so it can // go as a float - CRM-13491 totalfee = Math.round(totalfee*100)/100; - var totalFormattedFee = CRM.formatMoney(totalfee); + var totalFormattedFee = symbol + ' ' + CRM.formatMoney(totalfee, true); cj('#pricevalue').html(totalFormattedFee); cj('#total_amount').val( totalfee ); -- 2.25.1