diff --git a/xml/templates/message_templates/contribution_invoice_receipt_html.tpl b/xml/templates/message_templates/contribution_invoice_receipt_html.tpl index 38a67848fd0d..6a8df2008752 100644 --- a/xml/templates/message_templates/contribution_invoice_receipt_html.tpl +++ b/xml/templates/message_templates/contribution_invoice_receipt_html.tpl @@ -75,9 +75,6 @@ {ts 1=$currency}Amount %1{/ts} {foreach from=$lineItem item=value key=priceset name=taxpricevalue} - {if $smarty.foreach.taxpricevalue.index eq 0} - {else} - {/if} {if $value.html_type eq 'Text'} @@ -145,8 +142,6 @@ {ts}AMOUNT DUE:{/ts} {$amountDue|crmMoney:$currency} - -


@@ -207,6 +202,9 @@
+ + + {/if} {if '{contribution.contribution_status_id:name}' === 'Refunded' || '{contribution.contribution_status_id:name}' === 'Cancelled'}