From 49116c4705bb9d47401088a3f2921bf4250ce4ed Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 22 Jan 2022 21:56:01 +0100 Subject: [PATCH] bug fixes and permission tests --- Models/StockMovementType.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Models/StockMovementType.php b/Models/StockMovementType.php index 8e077f6..7f6e81c 100755 --- a/Models/StockMovementType.php +++ b/Models/StockMovementType.php @@ -37,21 +37,21 @@ abstract class StockMovementType extends Enum public const TRANSFER = 16; // @todo: subtypes, maybe creates as database subtypes during install. - public const DESTROY = 1; // 8 + public const DESTROY = 101; - public const RETURN = 1; // 8 + public const RETURN = 102; - public const INVENTORY_PLUS = 1; // 4 + public const INVENTORY_PLUS = 103; - public const INVENTORY_MINUS = 1; // 8 + public const INVENTORY_MINUS = 104; - public const PURCHASE = 1; // 4 + public const PURCHASE = 105; - public const SALE = 1; // 4 + public const SALE = 106; - public const MANUFACTURE_CREATE = 1; // 4 + public const MANUFACTURE_CREATE = 107; - public const MANUFACTURE_USE = 1; // 8 + public const MANUFACTURE_USE = 108; - public const MANUAL = 1; // 1-16 + public const MANUAL = 109; }