Skip to content

Commit

Permalink
dev/core#1776 Ensure that all fee financial item transaction date is …
Browse files Browse the repository at this point in the history
…set to the recieve date of the contribution
  • Loading branch information
seamuslee001 committed May 25, 2020
1 parent b95a6ee commit db4dfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/FinancialTrxn.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public static function recordFees($params) {
'financial_account_id' => $financialAccount,
'contact_id' => CRM_Core_DAO::getFieldValue('CRM_Core_DAO_Domain', CRM_Core_Config::domainID(), 'contact_id'),
'created_date' => date('YmdHis'),
'transaction_date' => date('YmdHis'),
'transaction_date' => $params['receive_date'],
'amount' => $amount,
'description' => 'Fee',
'status_id' => CRM_Core_PseudoConstant::getKey('CRM_Financial_BAO_FinancialItem', 'status_id', 'Paid'),
Expand Down

0 comments on commit db4dfb2

Please sign in to comment.