Receipt total is recalculatd after edit now

Some css improvements for receipt printing
Adaptation of one or more labels
This commit is contained in:
jekkos-t520
2015-02-24 16:13:44 +01:00
parent 71c9294978
commit dbddb34ed4
7 changed files with 55 additions and 21 deletions

View File

@@ -229,11 +229,13 @@ class Receiving_lib
$items = $this->get_cart();
if(isset($items[$line]))
{
$items[$line]['description'] = $description;
$items[$line]['serialnumber'] = $serialnumber;
$items[$line]['quantity'] = $quantity;
$items[$line]['discount'] = $discount;
$items[$line]['price'] = $price;
$line = &$items[$line];
$line['description'] = $description;
$line['serialnumber'] = $serialnumber;
$line['quantity'] = $quantity;
$line['discount'] = $discount;
$line['price'] = $price;
$line['total'] = $this->get_item_total($quantity, $price, $discount);
$this->set_cart($items);
}