From 87647fe249ed64133526e30510ccc84d0525cc6a Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 25 Aug 2016 21:19:18 +0530 Subject: [PATCH] CRM-16189, fee amount is not a payment ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 --- CRM/Core/BAO/FinancialTrxn.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/BAO/FinancialTrxn.php b/CRM/Core/BAO/FinancialTrxn.php index cea11b3809..0e75bb1d1d 100644 --- a/CRM/Core/BAO/FinancialTrxn.php +++ b/CRM/Core/BAO/FinancialTrxn.php @@ -426,6 +426,7 @@ WHERE ceft.entity_id = %1"; $params['trxnParams']['fee_amount'] = $params['trxnParams']['net_amount'] = 0; $params['trxnParams']['status_id'] = $params['contribution_status_id']; $params['trxnParams']['contribution_id'] = $contributionId; + $params['trxnParams']['is_payment'] = FALSE; $trxn = self::create($params['trxnParams']); if (empty($params['entity_id'])) { $financialTrxnID = CRM_Core_BAO_FinancialTrxn::getFinancialTrxnId($params['trxnParams']['contribution_id'], 'DESC'); -- 2.25.1