From f1d051c3116e2e6e7cf3d204c51fe95e857dfa42 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Wed, 6 Sep 2023 14:50:13 -0600 Subject: [PATCH] Fix missing event pay later receipt text --- xml/templates/message_templates/event_online_receipt_html.tpl | 2 +- xml/templates/message_templates/event_online_receipt_text.tpl | 2 +- 2 files 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 df251a602b..ed43e2a876 100644 --- a/xml/templates/message_templates/event_online_receipt_html.tpl +++ b/xml/templates/message_templates/event_online_receipt_html.tpl @@ -48,7 +48,7 @@

{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}

{/if} {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)} -

{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}

{* FIXME: this might be text rather than HTML *} +

{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if}

{* FIXME: this might be text rather than HTML *} {/if} diff --git a/xml/templates/message_templates/event_online_receipt_text.tpl b/xml/templates/message_templates/event_online_receipt_text.tpl index cc2d528b8a..dcc72e80be 100644 --- a/xml/templates/message_templates/event_online_receipt_text.tpl +++ b/xml/templates/message_templates/event_online_receipt_text.tpl @@ -34,7 +34,7 @@ ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} -{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if} +{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt}{/if} ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} {/if} -- 2.25.1