fix: refs #7024 create exception for inventory
gitea/salix/pipeline/pr-master There was a failure building this commit Details

This commit is contained in:
Pablo Natek 2024-04-10 14:01:03 +02:00
parent f76123f106
commit 2e15b35fd1
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ BEGIN
FROM `entry`
WHERE id = vSelf;
IF vIsBooked THEN
IF vIsBooked AND !@isModeInventory THEN
CALL util.throw('Entry is already booked');
END IF;
END$$