Skip to content

Commit

Permalink
VAT-414 Added ts tag in template files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Parag18 committed Jul 1, 2014
1 parent 2feea3d commit d1bd44d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions templates/CRM/Price/Page/Field.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
{if $getTaxDetails}
<td>{if $row.tax_rate != '' && $row.html_type eq "Text / Numeric Quantity"}
{if $row.tax_rate == 0.00}
VAT(Exempt)
{ts}VAT(Exempt){/ts}
{else}
VAT({$row.tax_rate|string_format:"%.2f"}%)
{ts}VAT{/ts}({$row.tax_rate|string_format:"%.2f"}%)
{/if}
{/if}</td>
<td>{if $row.html_type eq "Text / Numeric Quantity" }{$row.tax_amount|crmMoney}{/if}</td>
Expand Down
6 changes: 3 additions & 3 deletions templates/CRM/Price/Page/LineItem.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
<td class="right">{$line.line_total-$line.tax_amount|crmMoney}</td>
{if $line.tax_rate != ""}
{if $line.tax_rate == 0}
<td class="right">VAT(exempt)</td>
<td class="right">{ts}VAT(exempt){/ts}</td>
{else}
<td class="right">VAT({$line.tax_rate|string_format:"%.2f"}%)</td>
<td class="right">{ts}VAT{/ts}({$line.tax_rate|string_format:"%.2f"}%)</td>
{/if}
<td class="right">{$line.tax_amount|crmMoney}</td>
{elseif $line.tax_amount != ''}
<td class="right">VAT(exempt)</td>
<td class="right">{ts}VAT(exempt){/ts}</td>
<td class="right">{$line.tax_amount|crmMoney}</td>
{else}
<td></td>
Expand Down
4 changes: 2 additions & 2 deletions templates/CRM/Price/Page/Option.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
{if $getTaxDetails}
<td>{if $row.tax_rate != '' }
{if $row.tax_rate == 0.00}
VAT(Exempt)
{ts}VAT(Exempt){/ts}
{else}
VAT({$row.tax_rate|string_format:"%.2f"}%)
{ts}VAT{/ts}({$row.tax_rate|string_format:"%.2f"}%)
{/if}
{/if}</td>
<td>{$row.tax_amount|crmMoney}</td>
Expand Down

0 comments on commit d1bd44d

Please sign in to comment.