From 81caebc8df2af1e241fff5a880284841cbc21eb4 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 16 Dec 2015 19:28:06 +0530 Subject: [PATCH] --CRM-16259, add propotional payments when partially paid through participant UI --- CRM/Event/Form/Participant.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index edbfd0da54..d9635745bb 100644 --- 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); } } } -- 2.25.1