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:
3f979ab
)
[Ref] One more place to use total fn
author
eileen
<emcnaughton@wikimedia.org>
Fri, 26 Mar 2021 00:20:44 +0000
(13:20 +1300)
committer
eileen
<emcnaughton@wikimedia.org>
Thu, 8 Apr 2021 23:07:40 +0000
(11:07 +1200)
CRM/Member/Form/Membership.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Member/Form/Membership.php
b/CRM/Member/Form/Membership.php
index c435bde7294f48ab14a8f3494128c95dab9e51f0..5e5b83431101a1fa156dfb4f13275bfa6a8bbd67 100644
(file)
--- a/
CRM/Member/Form/Membership.php
+++ b/
CRM/Member/Form/Membership.php
@@
-1097,7
+1097,7
@@
DESC limit 1");
$params['register_date'] = CRM_Utils_Time::date('YmdHis');
// add all the additional payment params we need
- $formValues['amount'] = $
params['total_amount']
;
+ $formValues['amount'] = $
this->order->getTotalAmount()
;
$formValues['currencyID'] = $this->getCurrency();
$formValues['description'] = ts("Contribution submitted by a staff person using member's credit card for signup");
$formValues['invoiceID'] = $this->getInvoiceID();