From e688584b23d0df7145c536790aeee684d10a4ee0 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 18 Nov 2023 09:34:00 +1300 Subject: [PATCH] Fix pay_later to be more accurate & less noticey in membership online receipt --- .../message_templates/membership_online_receipt_html.tpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xml/templates/message_templates/membership_online_receipt_html.tpl b/xml/templates/message_templates/membership_online_receipt_html.tpl index e469152b02..080d2265e6 100644 --- a/xml/templates/message_templates/membership_online_receipt_html.tpl +++ b/xml/templates/message_templates/membership_online_receipt_html.tpl @@ -24,9 +24,8 @@ {if !empty($receipt_text)}

{$receipt_text|htmlize}

{/if} - - {if $is_pay_later} -

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *} + {if {contribution.balance_amount|boolean} && {contribution.is_pay_later|boolean}} +

{contribution.pay_later_receipt}

{/if} -- 2.25.1