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 1 additions and 0 deletions
Showing only changes of commit d4d31c6d9e - Show all commits

View File

@ -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,