Commit f2ba0594 authored by Monish Deb's avatar Monish Deb

minor fixes

parent 2dde9fb5
...@@ -256,7 +256,7 @@ WHERE civicrm_contact.id = $id "; ...@@ -256,7 +256,7 @@ WHERE civicrm_contact.id = $id ";
'groupName' => 'msg_tpl_workflow_grant', 'groupName' => 'msg_tpl_workflow_grant',
'valueName' => 'grant_'.$valueName, 'valueName' => 'grant_'.$valueName,
'contactId' => $contactID, 'contactId' => $contactID,
'tplParams' => array_merge(['email' => $email], CRM_Utils_Array::value('tplParams', $params, [])), 'tplParams' => array_merge(['email' => $email], CRM_Utils_Array::value('tplParams', $values, [])),
'PDFFilename' => '', 'PDFFilename' => '',
); );
......
...@@ -249,7 +249,7 @@ class CRM_Grant_Form_Task_GrantPayment extends CRM_Core_Form { ...@@ -249,7 +249,7 @@ class CRM_Grant_Form_Task_GrantPayment extends CRM_Core_Form {
CRM_Grant_BAO_GrantProgram::sendMail($dao->contact_id, $mailParams, 'Paid', $grantID, 'Approved for Payment'); CRM_Grant_BAO_GrantProgram::sendMail($dao->contact_id, $mailParams, 'Paid', $grantID, 'Approved for Payment');
} }
self::processPaymentDetails([ $grantPaymentRecord = self::processPaymentDetails([
'trxn_id' => $trxnID, 'trxn_id' => $trxnID,
'batch_id' => $values['contribution_batch_id'], 'batch_id' => $values['contribution_batch_id'],
'description' => $description, 'description' => $description,
......
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