mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-24 02:46:56 -05:00
Show discounted price per item line
This commit is contained in:
@@ -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