From 85d3367a59cf5a35aa97d2131d05078d48a6bdb8 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 6 May 2015 01:15:37 +0530 Subject: [PATCH] --CRM-16460, used money format function to format the total amount --- CRM/Price/BAO/PriceSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index 6cd8379ee6..1e7647c3d8 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -892,7 +892,7 @@ WHERE id = %1"; $displayParticipantCount = ' Participant Count -' . $totalParticipant; } $params['amount_level'] = CRM_Core_DAO::VALUE_SEPARATOR . implode(CRM_Core_DAO::VALUE_SEPARATOR, $amount_level) . $displayParticipantCount . CRM_Core_DAO::VALUE_SEPARATOR; - $params['amount'] = $totalPrice; + $params['amount'] = CRM_Utils_Money::format($totalPrice, NULL, NULL, TRUE); $params['tax_amount'] = $totalTax; if ($component) { foreach ($autoRenew as $dontCare => $eachAmount) { -- 2.25.1