fix: refs #7024 create exception for inventory #2282
|
@ -15,7 +15,7 @@ BEGIN
|
|||
FROM `entry`
|
||||
WHERE id = vSelf;
|
||||
|
||||
IF vIsBooked THEN
|
||||
IF vIsBooked AND NOT @isModeInventory THEN
|
||||
pablone marked this conversation as resolved
Outdated
|
||||
CALL util.throw('Entry is already booked');
|
||||
END IF;
|
||||
END$$
|
||||
|
|
Loading…
Reference in New Issue
Utilizar NOT https://wiki.verdnatura.es/index.php/Convenciones_SQL#Operadores