This commit is contained in:
2025-12-20 11:36:14 +03:30
parent 3ecfdf02d9
commit 0a2df262e1
7 changed files with 69 additions and 9 deletions

View File

@@ -94,6 +94,11 @@ class RequestPortalController extends Controller
'state_name' => MissionStates::name(MissionStates::END_MISSION->value),
]);
if ($mission->category_id == 2) {
$rpc = new OperatorController;
$rpc->store($mission);
}
$state = MissionStates::START_MISSION->value;
$category = $request->category_id;
$machine = CMMSMachine::query()->find($request->machine_id);