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:
e1c19ea
)
Use more appropriate money format function
author
eileen
<emcnaughton@wikimedia.org>
Fri, 14 Aug 2020 23:51:04 +0000
(11:51 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Fri, 14 Aug 2020 23:52:06 +0000
(11:52 +1200)
CRM/Campaign/Form/Campaign.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Campaign/Form/Campaign.php
b/CRM/Campaign/Form/Campaign.php
index 509b1278f45abbcbb61bcbcd487d43a398b8b364..b47cee77e72bb0c2755967c10b519a853ef44c02 100644
(file)
--- a/
CRM/Campaign/Form/Campaign.php
+++ b/
CRM/Campaign/Form/Campaign.php
@@
-222,7
+222,7
@@
class CRM_Campaign_Form_Campaign extends CRM_Core_Form {
$this->add('wysiwyg', 'goal_general', ts('Campaign Goals'), ['rows' => 2, 'cols' => 40]);
$this->add('text', 'goal_revenue', ts('Revenue Goal'), ['size' => 8, 'maxlength' => 12]);
$this->addRule('goal_revenue', ts('Please enter a valid money value (e.g. %1).',
- [1 => CRM_Utils_Money::format
('99.99', ' '
)]
+ [1 => CRM_Utils_Money::format
LocaleNumericRoundedForDefaultCurrency(99.99
)]
), 'money');
// is this Campaign active