feat: [users] 사용자 수정 화면에 소속 부서 선택 기능 추가
- UserController: profile 쿼리에 department_id 추가 - edit.blade.php: 소속 부서 select 드롭다운 UI 추가 - UpdateUserRequest: department_id 유효성 검증 규칙 추가 - UserService: tenant_user_profiles에 department_id 저장 로직 추가
This commit is contained in:
@@ -71,6 +71,7 @@ public function rules(): array
|
||||
'position_key' => 'nullable|string|max:64',
|
||||
'job_title_key' => 'nullable|string|max:64',
|
||||
'employee_status' => 'nullable|in:active,leave,resigned',
|
||||
'department_id' => 'nullable|integer|exists:departments,id',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user