refs #6312 hotFix fix:replaceItem
gitea/salix/pipeline/pr-master There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2024-04-25 08:01:32 +02:00
parent f1f2dfea35
commit 46f2d790db
1 changed files with 2 additions and 2 deletions

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,