feat: add permission to reopen closed jobcards
This commit is contained in:
@@ -14,7 +14,7 @@ final class StatusTransitionValidator
|
||||
'awaiting_client' => ['in_progress', 'completed'],
|
||||
'awaiting_parts' => ['in_progress', 'completed'],
|
||||
'completed' => ['closed'],
|
||||
'closed' => [],
|
||||
'closed' => ['in_progress'],
|
||||
];
|
||||
|
||||
public function canTransition(string $from, string $to): bool
|
||||
|
||||
Reference in New Issue
Block a user