From 442203e55ecda8d54d6904aaf0de2d84baea0127 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 16 Feb 2024 12:26:48 +1300 Subject: [PATCH] dev/core#5006 Fix event online receipt for selfcancelxfer --- xml/templates/message_templates/event_online_receipt_html.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/templates/message_templates/event_online_receipt_html.tpl b/xml/templates/message_templates/event_online_receipt_html.tpl index 5595786498..9e650d8e63 100644 --- a/xml/templates/message_templates/event_online_receipt_html.tpl +++ b/xml/templates/message_templates/event_online_receipt_html.tpl @@ -461,8 +461,8 @@ {if {event.allow_selfcancelxfer|boolean}} - {capture assign=selfservice_preposition}{if {event.selfcancelxfer_time} > 0}{ts}before{/ts}{else}{ts}after{/ts}{/if}{/capture} - {ts 1={event.selfcancelxfer_time} 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} + {capture assign=selfservice_preposition}{if {event.selfcancelxfer_time|boolean} && {event.selfcancelxfer_time} > 0}{ts}before{/ts}{else}{ts}after{/ts}{/if}{/capture} + {ts 1="{event.selfcancelxfer_time}" 2="$selfservice_preposition"}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if {contribution.paid_amount|boolean}}{ts}Cancellations are not refundable.{/ts}{/if}
{capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid={participant.id}&{contact.checksum}" h=0 a=1 fe=1}{/capture} {ts}Click here to transfer or cancel your registration.{/ts} -- 2.25.1