mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-19 23:11:44 -04:00
Show discounted price per item line
This commit is contained in:
1 parent
da25281df9
commit
bf0622d7fa
1 file changed
+1
@@ -400,6 +400,7 @@ class Sale_lib
|
||||
$line['price'] = $price;
|
||||
$line['total'] = $this->get_item_total($quantity, $price, $discount);
|
||||
$line['discounted_total'] = $this->get_item_total($quantity, $price, $discount, TRUE);
|
||||
$line['discounted_price'] = $this->get_item_discount($quantity, $price, $discount);
|
||||
$this->set_cart($items);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user