refs #6312 hotFix fix:replaceItem #2367

Merged
sergiodt merged 2 commits from 6312_originalQuanitty into master 2024-04-25 07:10:51 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 46f2d790db - Show all commits

View File

@ -92,8 +92,8 @@ BEGIN
START TRANSACTION;
UPDATE sale
SET quantity = quantity - vQuantity
WHERE id = vSaleFk;
SET originalQuantity = quantity - vQuantity,
quantity = quantity - vQuantity
INSERT INTO vn.sale(ticketFk,
itemFk,