Merge pull request 'feat: refs #7219' (!2307) from 7219-sale_replaceItem into test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2307 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
062bda548f
|
@ -81,10 +81,6 @@ BEGIN
|
||||||
ORDER BY (vQuantity % `grouping`) ASC
|
ORDER BY (vQuantity % `grouping`) ASC
|
||||||
LIMIT 1;
|
LIMIT 1;
|
||||||
|
|
||||||
IF vNewPrice IS NULL THEN
|
|
||||||
CALL util.throw('price retrieval failed');
|
|
||||||
END IF;
|
|
||||||
|
|
||||||
IF vNewPrice > vOldPrice THEN
|
IF vNewPrice > vOldPrice THEN
|
||||||
SET vFinalPrice = vOldPrice;
|
SET vFinalPrice = vOldPrice;
|
||||||
SET vOption = 'substitution';
|
SET vOption = 'substitution';
|
||||||
|
|
Loading…
Reference in New Issue