feat: [users] 재직상태(재직/휴직/퇴직) 표시 및 수정 기능 추가

- 사용자 목록 테이블에 재직상태 컬럼 추가 (재직/휴직/퇴직 배지)
- 사용자 수정 화면에 재직상태 select 필드 추가
- UserService.getUsers()에 employee_status 서브쿼리 추가
- UserService.updateUser()에서 tenant_user_profiles에 employee_status 저장
- UpdateUserRequest에 employee_status validation 추가
This commit is contained in:
김보곤
2026-02-28 08:23:16 +09:00
parent 9f7c107970
commit cf7244a30c
5 changed files with 42 additions and 5 deletions

View File

@@ -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',