projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smarty modifier - stop using isset to check taxTerm
[civicrm-core.git]
/
xml
/
templates
/
message_templates
/
contribution_offline_receipt_text.tpl
diff --git
a/xml/templates/message_templates/contribution_offline_receipt_text.tpl
b/xml/templates/message_templates/contribution_offline_receipt_text.tpl
index 8e8f878f9645765ab3114fe025f985f850d65767..75091e234d9598c37a4e095b26fc7f960b647f66 100644
(file)
--- a/
xml/templates/message_templates/contribution_offline_receipt_text.tpl
+++ b/
xml/templates/message_templates/contribution_offline_receipt_text.tpl
@@
-37,9
+37,9
@@
{foreach from=$dataArray item=value key=priceset}
{if $priceset || $priceset == 0 || $value != ''}
{foreach from=$dataArray item=value key=priceset}
{if $priceset || $priceset == 0 || $value != ''}
-{
if isset($taxTerm)}{$taxTerm}{/if
} {$priceset|string_format:"%.2f"}% : {$value|crmMoney:$currency}
+{
$taxTerm
} {$priceset|string_format:"%.2f"}% : {$value|crmMoney:$currency}
{else}
{else}
-{ts}No{/ts} {
if isset($taxTerm)}{$taxTerm}{/if
} : {$value|crmMoney:$currency}
+{ts}No{/ts} {
$taxTerm
} : {$value|crmMoney:$currency}
{/if}
{/foreach}
{/if}
{/if}
{/foreach}
{/if}