From 58c45ebe9eaf91b01572b4b69b9a0338eb6fa893 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sun, 3 Sep 2023 23:43:04 -0600 Subject: [PATCH] Fix event receipt regression --- tests/phpunit/CRM/Event/Form/ParticipantTest.php | 2 +- .../message_templates/event_offline_receipt_html.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/CRM/Event/Form/ParticipantTest.php b/tests/phpunit/CRM/Event/Form/ParticipantTest.php index 0136752d14..737d7b67b7 100644 --- a/tests/phpunit/CRM/Event/Form/ParticipantTest.php +++ b/tests/phpunit/CRM/Event/Form/ParticipantTest.php @@ -697,7 +697,7 @@ London,', 'Event Information and Location', 'Annual CiviCRM meet', 'Registered Email', - 'Just do it', + 'Contact the Development Department if you need to make any changes to your registration.', $isQuickConfig ? $this->formatMoneyInput(1550.55) . ' Family Deal - 1' : 'Fundraising Dinner - Family...', $isAmountPaidOnForm ? 'Total Paid: $20.00' : 'Total Paid: ', $isAmountPaidOnForm ? 'Balance: $1,530.55' : 'Balance: $1,550.55', diff --git a/xml/templates/message_templates/event_offline_receipt_html.tpl b/xml/templates/message_templates/event_offline_receipt_html.tpl index 08d91e8946..d30e96a4b0 100644 --- a/xml/templates/message_templates/event_offline_receipt_html.tpl +++ b/xml/templates/message_templates/event_offline_receipt_html.tpl @@ -22,8 +22,8 @@ {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}

{$greeting},

{/if} - {if {event.confirm_email_text|boolean} AND (empty($isOnWaitlist) AND empty($isRequireApproval))} -

{event.confirm_email_text}

+ {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))} +

{$event.confirm_email_text}

{/if} {if !empty($isOnWaitlist)} -- 2.25.1