Show discounted price per item line

This commit is contained in:
jekkos
2015-12-26 15:21:54 +01:00
parent da25281df9
commit bf0622d7fa

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);
}