diff options
author | msquare <msquare@notrademark.de> | 2017-12-20 23:05:46 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-12-20 23:05:46 +0100 |
commit | 2c04e35bed483dfe31eda465345602a117054f44 (patch) | |
tree | d9b0fd897ae91b4e3a11010e79715b28c0d8ee8c /includes/model/ShiftSignupState.php | |
parent | 7a3bdda483be2a32cc67bcf97b246edcb48c124e (diff) |
introduce new shift signup state for not arrived angels
Diffstat (limited to 'includes/model/ShiftSignupState.php')
-rw-r--r-- | includes/model/ShiftSignupState.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/model/ShiftSignupState.php b/includes/model/ShiftSignupState.php index 9b3de496..1ab7c362 100644 --- a/includes/model/ShiftSignupState.php +++ b/includes/model/ShiftSignupState.php @@ -42,7 +42,12 @@ class ShiftSignupState * User is already signed up */ const SIGNED_UP = 'SIGNED_UP'; - + + /** + * User has to be arrived + */ + const NOT_ARRIVED = 'NOT_ARRIVED'; + /** @var string */ private $state; @@ -83,6 +88,7 @@ class ShiftSignupState private function valueForState($state) { switch ($state) { + case ShiftSignupState::NOT_ARRIVED: case ShiftSignupState::SHIFT_ENDED: return 100; |