feat: Initialize core application structure including authentication, role-based dashboards, service task management, and integration workflows.
This commit is contained in:
21
app/States/ServiceTask/InProgressState.php
Normal file
21
app/States/ServiceTask/InProgressState.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\States\ServiceTask;
|
||||
|
||||
use App\Enums\ServiceTaskStatus;
|
||||
|
||||
class InProgressState extends ServiceTaskState
|
||||
{
|
||||
public function status(): ServiceTaskStatus
|
||||
{
|
||||
return ServiceTaskStatus::InProgress;
|
||||
}
|
||||
|
||||
protected function allowedTransitions(): array
|
||||
{
|
||||
return [
|
||||
ServiceTaskStatus::WaitingValidation,
|
||||
ServiceTaskStatus::Rejected,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user