Merge pull request 'refs #6312 hotFix fix:replaceItem' (!2367) from 6312_originalQuanitty into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2367 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
8ad61026ea
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue