mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-08-07 04:23:17 -04:00
Empty payments when Sales register item is edited (#3042)
This commit is contained in:
1 parent
0d08e8e15b
commit
2ce73993c6
1 file changed
+2
@@ -470,6 +470,8 @@ class Sales extends Secure_Controller
|
||||
if($this->form_validation->run() != FALSE)
|
||||
{
|
||||
$this->sale_lib->edit_item($item_id, $description, $serialnumber, $quantity, $discount, $discount_type, $price, $discounted_total);
|
||||
|
||||
$this->sale_lib->empty_payments();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user