Merge pull request #13 from dpradeep/VAT-434
[civicrm-core.git] / CRM / Price / BAO / PriceField.php
index 3435a8df49a086320c6854a3fc0c15353bbe60b0..4f34da3066d17bf9ea7a293a62b08cf1ae262823 100644 (file)
@@ -371,7 +371,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
             else {
               $opt['label'] = '<span class="crm-price-amount-amount">' . CRM_Utils_Money::format($opt[$valueFieldName]) . '</span> <span class="crm-price-amount-label">' . $opt['label'] . '</span>';
               if (isset($opt['tax_amount']) && $displayOpt != 'Do_not_show') {
-                $opt['label'] .= '<span class="crm-price-amount-label"> VAT (exempt)</span>';
+                $opt['label'] .= '<span class="crm-price-amount-label">'. ts(' VAT (exempt)') .'</span>';
               }
             }
           }
@@ -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'] .= '<span class="crm-price-amount-label"> VAT (exempt)</span>';
+                $opt['label'] .= '<span class="crm-price-amount-label">'. ts(' VAT (exempt)') .'</span>';
               }
             }
           }
@@ -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'] .= '<span class="crm-price-amount-label"> VAT (exempt)</span>';
+                $opt['label'] .= '<span class="crm-price-amount-label">'. ts(' VAT (exempt)') .'</span>';
               }
             }
           }