$params['receipt_date'] = $formValues['receive_date'] ?? NULL;
}
- //insert financial type name in receipt.
- $formValues['contributionType_name'] = CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_FinancialType',
- $this->getFinancialTypeID()
- );
}
// process line items, until no previous line items.
$this->assign('is_pay_later', 0);
$this->assign('isPrimary', 1);
}
+ //insert financial type name in receipt.
+ $formValues['contributionType_name'] = CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_FinancialType',
+ $this->getFinancialTypeID()
+ );
return $this->emailReceipt($this, $formValues, $membership);
}