Show discounted price per item line

This commit is contained in:
jekkos committed 2015-12-26 15:26:32 +01:00
1 parent da25281df9
commit bf0622d7fa
1 file changed
+1
+1
View File
@@ -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);
}