diff options
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; |