From a1930ca122178183d68c61c7bd0a30671316540b Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 21 Nov 2023 13:13:15 +1300 Subject: [PATCH] Online membership receipt simplification Rather than having one section in an IF for the scenario where we have a separate payment situation but there is no contribution payment, consolidate this scenario with the general 'we have a membership but no contribution in the receipt --- .../membership_online_receipt_html.tpl | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/xml/templates/message_templates/membership_online_receipt_html.tpl b/xml/templates/message_templates/membership_online_receipt_html.tpl index bae92aa780..0381eca200 100644 --- a/xml/templates/message_templates/membership_online_receipt_html.tpl +++ b/xml/templates/message_templates/membership_online_receipt_html.tpl @@ -72,7 +72,7 @@ {ts}Membership Fee{/ts} - {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)} + {if !$isShowLineItems && {contribution.total_amount|boolean}} {ts 1=$membership_name}%1 Membership{/ts} @@ -177,20 +177,6 @@ {contribution.total_amount} {if isset($amount_level)} - {$amount_level}{/if} - {elseif isset($membership_amount)} - - - {ts}Membership Fee{/ts} - - - - - {ts 1=$membership_name}%1 Membership{/ts} - - - {$membership_amount|crmMoney} - - {/if} {if !empty($receive_date)} -- 2.25.1