add code to control unit

This commit is contained in:
2025-07-12 16:08:35 +03:30
parent b2a57c2696
commit 3e98ffda30
5 changed files with 39 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ class RequestPortalController extends Controller
'description' => $request->description,
'end_point' => $request->end_point,
'area' => json_encode($request->area),
'code' => rand(100000, 999999)
]);
$mission->rahdaran()->attach($request->rahdaran);