</td>
{if $line.tax_rate != "" || $line.tax_amount != ""}
<td>
- {$line.tax_rate}%
+ {$line.tax_rate|string_format:"%.2f"}%
</td>
<td>
{$line.tax_amount|crmMoney:$currency}
{foreach from=$dataArray item=value key=priceset}
<tr>
{if $priceset || $priceset == 0 || $value != ''}
- <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
+ <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
<td> {$value|crmMoney:$currency}</td>
{else}
<td> {ts}No{/ts} {$taxTerm}</td>
{/foreach}
{/if}
- {if $getTaxDetails && $totalTaxAmount !== 'null'}
+ {if isset($totalTaxAmount) && $totalTaxAmount !== 'null'}
<tr>
<td {$labelStyle}>
{ts}Total Tax Amount{/ts}