Fixed issue with discounts on line item table
This commit is contained in:
parent
ed08821e8e
commit
43bfe22add
|
|
@ -85,10 +85,3 @@ foreach($attachments as $index => $attachment) {
|
|||
|
||||
<span id="documentID" style="display:none;"><?=$document['Document']['id']?></span>
|
||||
|
||||
<?php // debug($currency);?>
|
||||
<?php //debug($docType);?>
|
||||
|
||||
<?php //debug($enquiry);?>
|
||||
|
||||
<?php // debug($document);?>
|
||||
<?php debug($attachments);?>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
<? if($li['discount_percent']):?>
|
||||
<br>less<br><?=$li['discount_percent']?>%<br>
|
||||
discount*<br>
|
||||
(<?=$number->currency($li['discount_amount_total'], $currencyCode);?>)<br>
|
||||
(-<?=$number->currency($li['discount_amount_total'], $currencyCode);?>)<br>
|
||||
=<br>
|
||||
<?=$number->currency($li['net_price'], $currencyCode);?>
|
||||
<?endif;?>
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ else:
|
|||
<? if($li['discount_percent']):?>
|
||||
<br>less<br><?=$li['discount_percent']?>%<br>
|
||||
discount<br>
|
||||
<?=$number->currency($li['discount_amount_total'], $currencyCode);?>)<br>
|
||||
(-<?=$number->currency($li['discount_amount_total'], $currencyCode);?>)<br>
|
||||
=<br>
|
||||
<?=$number->currency($li['net_price'], $currencyCode);?>
|
||||
<?endif;?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue