projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23902 from civicrm/5.51
[civicrm-core.git]
/
CRM
/
Event
/
Form
/
ParticipantFeeSelection.php
diff --git
a/CRM/Event/Form/ParticipantFeeSelection.php
b/CRM/Event/Form/ParticipantFeeSelection.php
index d266851b3612a0109874a95a18e86268f721de34..ba6f5f4e1c0472941a52c583bbe43592e57154b6 100644
(file)
--- a/
CRM/Event/Form/ParticipantFeeSelection.php
+++ b/
CRM/Event/Form/ParticipantFeeSelection.php
@@
-356,14
+356,16
@@
class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form {
$this->assign('isOnWaitlist', TRUE);
}
$this->assign('contactID', $this->_contactId);
$this->assign('isOnWaitlist', TRUE);
}
$this->assign('contactID', $this->_contactId);
- $this->assign('participantID', $this->_participantId);
$sendTemplateParams = [
$sendTemplateParams = [
- 'groupName' => 'msg_tpl_workflow_event',
- 'valueName' => 'event_offline_receipt',
+ 'workflow' => 'event_offline_receipt',
'contactId' => $this->_contactId,
'isTest' => FALSE,
'PDFFilename' => ts('confirmation') . '.pdf',
'contactId' => $this->_contactId,
'isTest' => FALSE,
'PDFFilename' => ts('confirmation') . '.pdf',
+ 'modelProps' => [
+ 'participantID' => $this->_participantId,
+ 'eventID' => $params['event_id'],
+ ],
];
// try to send emails only if email id is present
];
// try to send emails only if email id is present