Skip to content

Commit

Permalink
dev/financial#139 contribution completeOrder shouldn't change receive…
Browse files Browse the repository at this point in the history
…_date
  • Loading branch information
agh1 committed Jul 27, 2020
1 parent 6371b9b commit 9bae1e1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CRM/Contribute/BAO/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -4481,10 +4481,6 @@ public static function completeOrder($input, &$ids, $objects, $transaction = NUL
}
$changeDate = CRM_Utils_Array::value('trxn_date', $input, date('YmdHis'));

if (empty($contributionParams['receive_date']) && $changeDate) {
$contributionParams['receive_date'] = $changeDate;
}

self::repeatTransaction($contribution, $input, $contributionParams, $paymentProcessorId);
$contributionParams['financial_type_id'] = $contribution->financial_type_id;

Expand Down

0 comments on commit 9bae1e1

Please sign in to comment.