From ae55dce91f9471fff5e2075aa6194acbadc610a9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 2 Aug 2022 17:36:05 +1200 Subject: [PATCH] Use token for tax term --- .../contribution_invoice_receipt_html.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xml/templates/message_templates/contribution_invoice_receipt_html.tpl b/xml/templates/message_templates/contribution_invoice_receipt_html.tpl index 81dec36c23..f2cf24f97c 100644 --- a/xml/templates/message_templates/contribution_invoice_receipt_html.tpl +++ b/xml/templates/message_templates/contribution_invoice_receipt_html.tpl @@ -96,10 +96,10 @@ {if $priceset} - {if $taxTerm}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if} + {if '{domain.tax_term}'}{ts 1='{domain.tax_term}' 2=$priceset}TOTAL %1 %2%{/ts}{/if} {$value|crmMoney:$currency} {elseif $priceset == 0} - {if $taxTerm}{ts 1=$taxTerm}TOTAL %1{/ts}{/if} + {if '{domain.tax_term}'}{ts 1='{domain.tax_term}'}TOTAL %1{/ts}{/if} {$value|crmMoney:$currency} {/if} @@ -292,7 +292,7 @@ {if $value.tax_amount != ''} {if $value.tax_rate}{$value.tax_rate}%{/if} {else} - {if $taxTerm}{ts 1=$taxTerm}No %1{/ts}{/if} + {if '{domain.tax_term}'}{ts 1='{domain.tax_term}'}No %1{/ts}{/if} {/if} {$value.subTotal|crmMoney:$currency} @@ -308,10 +308,10 @@ {if $priceset} - {if $taxTerm}{ts 1=$taxTerm 2=$priceset}TOTAL %1 %2%{/ts}{/if} + {if '{domain.tax_term}'}{ts 1='{domain.tax_term}' 2=$priceset}TOTAL %1 %2%{/ts}{/if} {$value|crmMoney:$currency} {elseif $priceset == 0} - {if $taxTerm}{ts 1=$taxTerm}TOTAL NO %1{/ts}{/if} + {if '{domain.tax_term}'}{ts 1='{domain.tax_term}'}TOTAL NO %1{/ts}{/if} {$value|crmMoney:$currency} {/if} -- 2.25.1