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:
0618910
)
--CRM-16259, add propotional payments when partially paid through participant UI
author
Pradeep Nayak
<pradpnayak@gmail.com>
Wed, 16 Dec 2015 13:58:06 +0000
(19:28 +0530)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Mon, 11 Jan 2016 10:26:10 +0000
(15:56 +0530)
CRM/Event/Form/Participant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Form/Participant.php
b/CRM/Event/Form/Participant.php
index edbfd0da5413b8114ce82687231222b78196e6b4..d9635745bb020d2ae5afc0ce11ccce35b838ee39 100644
(file)
--- a/
CRM/Event/Form/Participant.php
+++ b/
CRM/Event/Form/Participant.php
@@
-1447,6
+1447,7
@@
class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
$lineItem[$this->_priceSetId][$lineKey] = $line;
}
CRM_Price_BAO_LineItem::processPriceSet($participants[$num]->id, $lineItem, CRM_Utils_Array::value($num, $contributions, NULL), 'civicrm_participant');
+ CRM_Contribute_BAO_Contribution::addPayments($value, $contributions);
}
}
}