From d1366190a1b0377ee4f3a8b854b7dbbb71b6928c Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Fri, 9 Jun 2023 09:03:44 -0600 Subject: [PATCH] Remove unreachable code in event registration templates for tax total --- xml/templates/message_templates/event_offline_receipt_html.tpl | 3 --- xml/templates/message_templates/event_offline_receipt_text.tpl | 2 -- xml/templates/message_templates/event_online_receipt_html.tpl | 3 --- xml/templates/message_templates/event_online_receipt_text.tpl | 2 -- 4 files changed, 10 deletions(-) diff --git a/xml/templates/message_templates/event_offline_receipt_html.tpl b/xml/templates/message_templates/event_offline_receipt_html.tpl index ce5af95ca6..62887a20d2 100644 --- a/xml/templates/message_templates/event_offline_receipt_html.tpl +++ b/xml/templates/message_templates/event_offline_receipt_html.tpl @@ -254,9 +254,6 @@ {if $priceset || $priceset == 0}  {$taxTerm} {$priceset|string_format:"%.2f"}%  {$value|crmMoney:$currency} - {else} -  {ts}No{/ts} {$taxTerm} -  {$value|crmMoney:$currency} {/if} {/foreach} diff --git a/xml/templates/message_templates/event_offline_receipt_text.tpl b/xml/templates/message_templates/event_offline_receipt_text.tpl index 6737e86f96..c6f5a8550b 100644 --- a/xml/templates/message_templates/event_offline_receipt_text.tpl +++ b/xml/templates/message_templates/event_offline_receipt_text.tpl @@ -129,8 +129,6 @@ {foreach from=$dataArray item=value key=priceset} {if $priceset || $priceset == 0} {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} -{else} -{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} {/if} {/foreach} {/if} diff --git a/xml/templates/message_templates/event_online_receipt_html.tpl b/xml/templates/message_templates/event_online_receipt_html.tpl index b0de224f35..4ee53b192f 100644 --- a/xml/templates/message_templates/event_online_receipt_html.tpl +++ b/xml/templates/message_templates/event_online_receipt_html.tpl @@ -277,9 +277,6 @@ {if $priceset || $priceset == 0}  {$taxTerm} {$priceset|string_format:"%.2f"}%  {$value|crmMoney:$currency} - {else} -  {ts}No{/ts} {$taxTerm} -  {$value|crmMoney:$currency} {/if} {/foreach} diff --git a/xml/templates/message_templates/event_online_receipt_text.tpl b/xml/templates/message_templates/event_online_receipt_text.tpl index 2153d29d15..dc349b8b99 100644 --- a/xml/templates/message_templates/event_online_receipt_text.tpl +++ b/xml/templates/message_templates/event_online_receipt_text.tpl @@ -148,8 +148,6 @@ You were registered by: {$payer.name} {foreach from=$dataArray item=value key=priceset} {if $priceset || $priceset == 0} {$taxTerm} {$priceset|string_format:"%.2f"}%: {$value|crmMoney:$currency} -{else} -{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency} {/if} {/foreach} {/if} -- 2.25.1