From: Eileen McNaughton Date: Fri, 17 Nov 2023 20:34:00 +0000 (+1300) Subject: Fix pay_later to be more accurate & less noticey in membership online receipt X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e688584b23d0df7145c536790aeee684d10a4ee0;p=civicrm-core.git Fix pay_later to be more accurate & less noticey in membership online receipt --- 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}