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:
997c4fa
)
CRM-21632 - {membership.fee} prints out in documents with 9 decimal places
author
yashodha
<yashodha@cividesk.com>
Thu, 24 May 2018 14:44:35 +0000
(20:14 +0530)
committer
yashodha
<yashodha@cividesk.com>
Thu, 24 May 2018 14:44:35 +0000
(20:14 +0530)
CRM/Utils/Token.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Token.php
b/CRM/Utils/Token.php
index d879d6f697bb4aebaae1243eda95cae331773538..e3bdcc102b9b02525450be95701a771271490733 100644
(file)
--- a/
CRM/Utils/Token.php
+++ b/
CRM/Utils/Token.php
@@
-1762,6
+1762,7
@@
class CRM_Utils_Token {
'id' => $membership['membership_type_id'],
'return' => 'minimum_fee',
));
+ $value = CRM_Utils_Money::format($value, NULL, NULL, TRUE);
}
catch (CiviCRM_API3_Exception $e) {
// we can anticipate we will get an error if the minimum fee is set to 'NULL' because of the way the