From 57e3be541d90c33fe75bd943217eaeedcd23e6fa Mon Sep 17 00:00:00 2001 From: dpradeep Date: Thu, 19 Jun 2014 18:12:05 +0530 Subject: [PATCH] Added ts() for VAT (exempt). --- CRM/Price/BAO/PriceField.php | 6 +++--- templates/CRM/Price/Form/PriceSet.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Price/BAO/PriceField.php b/CRM/Price/BAO/PriceField.php index 3435a8df49..4f34da3066 100644 --- a/CRM/Price/BAO/PriceField.php +++ b/CRM/Price/BAO/PriceField.php @@ -371,7 +371,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { else { $opt['label'] = '' . CRM_Utils_Money::format($opt[$valueFieldName]) . ' ' . $opt['label'] . ''; if (isset($opt['tax_amount']) && $displayOpt != 'Do_not_show') { - $opt['label'] .= ' VAT (exempt)'; + $opt['label'] .= ''. ts(' VAT (exempt)') .''; } } } @@ -458,7 +458,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { else { $opt['label'] .= CRM_Utils_Money::format($opt[$valueFieldName]); if (isset($opt['tax_amount']) && $displayOpt != 'Do_not_show') { - $opt['label'] .= ' VAT (exempt)'; + $opt['label'] .= ''. ts(' VAT (exempt)') .''; } } } @@ -502,7 +502,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { else { $opt['label'] .= CRM_Utils_Money::format($opt[$valueFieldName]); if (isset($opt['tax_amount']) && $displayOpt != 'Do_not_show') { - $opt['label'] .= ' VAT (exempt)'; + $opt['label'] .= ''. ts(' VAT (exempt)') .''; } } } diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index 05fb79c3c0..ab29bb6f4f 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -85,7 +85,7 @@ {else} {$option.amount|crmMoney} {if $option.tax_amount == "0" && $displayOpt != 'Do_not_show'} - VAT (exempt) + {ts} VAT (exempt){/ts} {/if} {/if} {/foreach} -- 2.25.1