if ($values['event']['is_email_confirm']) {
$values['is_email_receipt'] = 1;
}
+
+ $values['contributionId'] = $ids['contribution'];
+
return CRM_Event_BAO_Event::sendMail($ids['contact'], $values,
$this->_relatedObjects['participant']->id, $this->is_test, $returnMessageText
);
if (!empty($values['lineItem']) && !empty($this->_relatedObjects['membership'])) {
$values['useForMember'] = TRUE;
}
+
+ $template->assign('contributionId', $this->id);
+ $values['contributionId'] = $this->id;
+
//assign honor information to receipt message
$softRecord = CRM_Contribute_BAO_ContributionSoft::getSoftContribution($this->id);