From e23f16772987f4a5aaf5cce74ff95287282c38f7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 28 Apr 2023 10:53:58 +1200 Subject: [PATCH] Fix : to be withing ts --- .../message_templates/contribution_online_receipt_text.tpl | 2 +- xml/templates/message_templates/event_offline_receipt_text.tpl | 2 +- xml/templates/message_templates/event_online_receipt_text.tpl | 2 +- .../message_templates/membership_offline_receipt_html.tpl | 2 +- .../message_templates/membership_offline_receipt_text.tpl | 2 +- .../message_templates/membership_online_receipt_text.tpl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/templates/message_templates/contribution_online_receipt_text.tpl b/xml/templates/message_templates/contribution_online_receipt_text.tpl index c59a8976e8..44afc91056 100644 --- a/xml/templates/message_templates/contribution_online_receipt_text.tpl +++ b/xml/templates/message_templates/contribution_online_receipt_text.tpl @@ -33,7 +33,7 @@ {/foreach} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} -{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} +{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:'{contribution.currency}'} {/foreach} diff --git a/xml/templates/message_templates/event_offline_receipt_text.tpl b/xml/templates/message_templates/event_offline_receipt_text.tpl index 30f9c83fde..ffd6ab3336 100644 --- a/xml/templates/message_templates/event_offline_receipt_text.tpl +++ b/xml/templates/message_templates/event_offline_receipt_text.tpl @@ -122,7 +122,7 @@ {if !empty($dataArray)} {if $totalAmount and $totalTaxAmount} -{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency} +{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency} {/if} {foreach from=$dataArray item=value key=priceset} diff --git a/xml/templates/message_templates/event_online_receipt_text.tpl b/xml/templates/message_templates/event_online_receipt_text.tpl index bafd207097..bacdec2bfd 100644 --- a/xml/templates/message_templates/event_online_receipt_text.tpl +++ b/xml/templates/message_templates/event_online_receipt_text.tpl @@ -142,7 +142,7 @@ You were registered by: {$payer.name} {if !empty($dataArray)} {if isset($totalAmount) and isset($totalTaxAmount)} -{ts}Amount before Tax{/ts}: {$totalAmount-$totalTaxAmount|crmMoney:$currency} +{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency} {/if} {foreach from=$dataArray item=value key=priceset} diff --git a/xml/templates/message_templates/membership_offline_receipt_html.tpl b/xml/templates/message_templates/membership_offline_receipt_html.tpl index 17b704ebf0..9f52c719f8 100644 --- a/xml/templates/message_templates/membership_offline_receipt_html.tpl +++ b/xml/templates/message_templates/membership_offline_receipt_html.tpl @@ -139,7 +139,7 @@ {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} - {ts}Amount Before Tax{/ts}: + {ts}Amount Before Tax:{/ts} {contribution.tax_exclusive_amount} diff --git a/xml/templates/message_templates/membership_offline_receipt_text.tpl b/xml/templates/message_templates/membership_offline_receipt_text.tpl index 5e2bd3461a..4e91a2c321 100644 --- a/xml/templates/message_templates/membership_offline_receipt_text.tpl +++ b/xml/templates/message_templates/membership_offline_receipt_text.tpl @@ -44,7 +44,7 @@ {/foreach} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} -{ts}Amount before Tax{/ts}: {contribution.tax_exclusive_amount} +{ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}: {$taxDetail.amount|crmMoney:'{contribution.currency}'} diff --git a/xml/templates/message_templates/membership_online_receipt_text.tpl b/xml/templates/message_templates/membership_online_receipt_text.tpl index 12e9774c20..1d4b977232 100644 --- a/xml/templates/message_templates/membership_online_receipt_text.tpl +++ b/xml/templates/message_templates/membership_online_receipt_text.tpl @@ -70,7 +70,7 @@ {/foreach} {if !empty($dataArray)} -{ts}Amount before Tax{/ts}: {$amount-$totalTaxAmount|crmMoney:$currency} +{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency} {foreach from=$dataArray item=value key=priceset} {if $priceset || $priceset == 0} -- 2.25.1