Commit 5338eba8 authored by Monish Deb's avatar Monish Deb

minor fix

parent 521ec02f
......@@ -189,7 +189,7 @@ class CRM_Grant_Form_Task_GrantPayment extends CRM_Core_Form {
$grantID = $dao->grant_id;
$financialTrxnParams = [
'from_financial_account_id' => $dao->to_financial_account_id,
'to_financial_account_id' => CRM_Contribute_PseudoConstant::getRelationalFinancialAccount($dao->financial_type_id, 'Asset Account is') ?: CRM_Grant_BAO_GrantProgram::getAssetFinancialAccountID(),
'to_financial_account_id' => CRM_Contribute_PseudoConstant::getRelationalFinancialAccount($dao->financial_type_id, 'Asset Account is') ?: CRM_Grantfinancialsupport_Util::getAssetFinancialAccountID(),
'trxn_date' => CRM_Utils_Array::value('trxn_date', $values, date('YmdHis')),
'trxn_id' => CRM_Utils_Array::value('trxn_id', $values),
'total_amount' => $dao->total_amount,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment