refs #6312 hotFix fix:replaceItem #2367
|
@ -94,6 +94,7 @@ BEGIN
|
||||||
UPDATE sale
|
UPDATE sale
|
||||||
SET originalQuantity = quantity - vQuantity,
|
SET originalQuantity = quantity - vQuantity,
|
||||||
quantity = quantity - vQuantity
|
quantity = quantity - vQuantity
|
||||||
|
WHERE id = vSaleFk;
|
||||||
|
|
||||||
INSERT INTO vn.sale(ticketFk,
|
INSERT INTO vn.sale(ticketFk,
|
||||||
itemFk,
|
itemFk,
|
||||||
|
|
Loading…
Reference in New Issue