mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 16:28:40 -04:00
Receipt total is recalculatd after edit now
Some css improvements for receipt printing Adaptation of one or more labels
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user