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
Showing only changes of commit 2c5c2ca5a7 - Show all commits

View File

@ -15,7 +15,7 @@ BEGIN
FROM `entry`
WHERE id = vSelf;
IF vIsBooked AND !@isModeInventory 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');
END IF;
END$$