Added Text prices to OrderAck PDF template
This commit is contained in:
parent
66870227db
commit
fa6916b862
|
|
@ -31,24 +31,39 @@
|
||||||
<td width="<?=$colWidths['qty'];?>" align="center" valign="top"><?=$decimal->formatDecimal($li['quantity']);?></td>
|
<td width="<?=$colWidths['qty'];?>" align="center" valign="top"><?=$decimal->formatDecimal($li['quantity']);?></td>
|
||||||
<td width="<?=$colWidths['desc'];?>"><?=$li['title'];?><br><?=$li['description'];?></td>
|
<td width="<?=$colWidths['desc'];?>"><?=$li['title'];?><br><?=$li['description'];?></td>
|
||||||
<td width="<?=$colWidths['unit'];?>" align="center" valign="top">
|
<td width="<?=$colWidths['unit'];?>" align="center" valign="top">
|
||||||
|
<?
|
||||||
<?=$number->currency($li['gross_unit_price'], $currencyCode);?>
|
if($li['has_text_prices']):
|
||||||
<? if($li['discount_percent']):?>
|
echo $li['unit_price_string'];
|
||||||
|
?>
|
||||||
|
<?
|
||||||
|
else:
|
||||||
|
?>
|
||||||
|
<?=$number->currency($li['gross_unit_price'], $currencyCode);?>
|
||||||
|
<? if($li['discount_percent']):?>
|
||||||
<br>less<br><?=$li['discount_percent']?>%<br>
|
<br>less<br><?=$li['discount_percent']?>%<br>
|
||||||
discount*<br>
|
discount*<br>
|
||||||
(-<?=$number->currency($li['discount_amount_unit'], $currencyCode);?>)<br>
|
(-<?=$number->currency($li['discount_amount_unit'], $currencyCode);?>)<br>
|
||||||
=<br>
|
=<br>
|
||||||
<?=$number->currency($li['net_unit_price'], $currencyCode);?>
|
<?=$number->currency($li['net_unit_price'], $currencyCode);?>
|
||||||
|
<?endif;?>
|
||||||
<?endif;?>
|
<?endif;?>
|
||||||
</td>
|
</td>
|
||||||
<td width="<?=$colWidths['total'];?>" align="center" valign="top">
|
<td width="<?=$colWidths['total'];?>" align="center" valign="top">
|
||||||
<?=$number->currency($li['gross_price'], $currencyCode);?>
|
<?
|
||||||
<? if($li['discount_percent']):?>
|
if($li['has_text_prices']):
|
||||||
|
echo $li['gross_price_string'];
|
||||||
|
?>
|
||||||
|
<?
|
||||||
|
else:
|
||||||
|
?>
|
||||||
|
<?=$number->currency($li['gross_price'], $currencyCode);?>
|
||||||
|
<? if($li['discount_percent']):?>
|
||||||
<br>less<br><?=$li['discount_percent']?>%<br>
|
<br>less<br><?=$li['discount_percent']?>%<br>
|
||||||
discount*<br>
|
discount*<br>
|
||||||
(-<?=$number->currency($li['discount_amount_total'], $currencyCode);?>)<br>
|
(-<?=$number->currency($li['discount_amount_total'], $currencyCode);?>)<br>
|
||||||
=<br>
|
=<br>
|
||||||
<?=$number->currency($li['net_price'], $currencyCode);?>
|
<?=$number->currency($li['net_price'], $currencyCode);?>
|
||||||
|
<?endif;?>
|
||||||
<?endif;?>
|
<?endif;?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue