fix: refs #7024 create exception for inventory #2282

Merged
pablone merged 2 commits from 7024-create-exception-for-inventory into master 2024-04-10 12:56:10 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ BEGIN
FROM `entry` FROM `entry`
WHERE id = vSelf; WHERE id = vSelf;
IF vIsBooked THEN IF vIsBooked AND NOT @isModeInventory THEN
pablone marked this conversation as resolved Outdated
Utilizar NOT https://wiki.verdnatura.es/index.php/Convenciones_SQL#Operadores
CALL util.throw('Entry is already booked'); CALL util.throw('Entry is already booked');
END IF; END IF;
END$$ END$$