projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb10f2
)
--CRM-16460, used money format function to format the total amount
author
Pradeep Nayak
<pradpnayak@gmail.com>
Tue, 5 May 2015 19:45:37 +0000
(
01:15
+0530)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Tue, 5 May 2015 19:45:37 +0000
(
01:15
+0530)
CRM/Price/BAO/PriceSet.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Price/BAO/PriceSet.php
b/CRM/Price/BAO/PriceSet.php
index 6cd8379ee64b76c0a20bfd9026f8e6be9c14b6c1..1e7647c3d86a0c725ff27759d55f2a906a462ef4 100644
(file)
--- 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) {