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 1 deletions

View File

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