feat: [users] 재직상태(재직/휴직/퇴직) 표시 및 수정 기능 추가
- 사용자 목록 테이블에 재직상태 컬럼 추가 (재직/휴직/퇴직 배지) - 사용자 수정 화면에 재직상태 select 필드 추가 - UserService.getUsers()에 employee_status 서브쿼리 추가 - UserService.updateUser()에서 tenant_user_profiles에 employee_status 저장 - UpdateUserRequest에 employee_status validation 추가
This commit is contained in:
@@ -91,7 +91,7 @@ public function edit(int $id): View
|
||||
? DB::table('tenant_user_profiles')
|
||||
->where('tenant_id', $tenantId)
|
||||
->where('user_id', $user->id)
|
||||
->first(['position_key', 'job_title_key'])
|
||||
->first(['position_key', 'job_title_key', 'employee_status'])
|
||||
: null;
|
||||
|
||||
return view('users.edit', compact('user', 'roles', 'departments', 'userRoleIds', 'userDepartmentIds',
|
||||
|
||||
Reference in New Issue
Block a user