From 12be62ffb5a7ac2a2c4fc7b6f200534914509684 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 8 Sep 2023 11:01:01 +1200 Subject: [PATCH] Remove unnecessary contributeMode reference If trxn_id is present, then show it. The variable is always assigned in https://github.com/civicrm/civicrm-core/blob/2ad38a735f7b26daf99d7b63eb413c6b69f780cb/CRM/Contribute/Form/Contribution/ThankYou.php#L212 So we don't need more (deprecated) conditions --- templates/CRM/Contribute/Form/Contribution/ThankYou.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/Contribution/ThankYou.tpl b/templates/CRM/Contribute/Form/Contribution/ThankYou.tpl index 0027c64cdf..6ddd508dc2 100644 --- a/templates/CRM/Contribute/Form/Contribution/ThankYou.tpl +++ b/templates/CRM/Contribute/Form/Contribution/ThankYou.tpl @@ -104,7 +104,7 @@ {if $receive_date} {ts}Date{/ts}: {$receive_date|crmDate}
{/if} - {if $contributeMode ne 'notify' and $is_monetary and ! $is_pay_later and $trxn_id} + {if $trxn_id} {ts}Transaction #{/ts}: {$trxn_id}
{/if} {if $membership_trx_id} -- 2.25.1