{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
-<center>
<table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
<!-- BEGIN HEADER -->
<td>
{$line.unit_price*$line.qty|crmMoney}
</td>
- {if isset($line.tax_rate) and ($line.tax_rate != "" || $line.tax_amount != "")}
+ {if ($line.tax_rate || $line.tax_amount != "")}
<td>
{$line.tax_rate|string_format:"%.2f"}%
</td>
{foreach from=$dataArray item=value key=priceset}
<tr>
{if $priceset || $priceset == 0}
- <td> {if isset($taxTerm)}{$taxTerm}{/if} {$priceset|string_format:"%.2f"}%</td>
+ <td> {$taxTerm} {$priceset|string_format:"%.2f"}%</td>
<td> {$value|crmMoney:$currency}</td>
{else}
- <td> {ts}NO{/ts} {if isset($taxTerm)}{$taxTerm}{/if}</td>
+ <td> {ts}NO{/ts} {$taxTerm}</td>
<td> {$value|crmMoney:$currency}</td>
{/if}
</tr>
{/if}
</table>
-</center>
</body>
</html>