Skip to content
Snippets Groups Projects
Commit 8c2a3e92 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #470 from yashodha/CRM-12374

CRM-12374
parents 7e364216 a1f5ffcc
No related branches found
No related tags found
No related merge requests found
......@@ -489,6 +489,8 @@ LIMIT 1;";
}
$input['total_amount'] = $input['amount'];
$input['contribution'] = $contribution;
$input['financial_type_id'] = $contribution->financial_type_id;
if (CRM_Utils_Array::value('participant', $contribution->_relatedObjects)) {
$input['contribution_mode'] = 'participant';
$input['participant_id'] = $contribution->_relatedObjects['participant']->id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment