refactor:영업파트너 역할 2개로 단순화 (recruiter 제거)

- 역할: sales(영업파트너), manager(상담매니저) 2개만 유지
- recruiter(유치담당) 역할 완전 제거
- 역할 레이블 변경: 영업→영업파트너, 매니저→상담매니저
- 통계, 필터, 역할관리 UI 모두 업데이트

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-02 16:43:02 +09:00
parent 32c00d8522
commit ced9110f3b
8 changed files with 35 additions and 64 deletions

View File

@@ -82,7 +82,7 @@ private function getIndexData(Request $request): array
// 영업 역할을 가진 사용자 목록 (영업파트너)
$salesPartners = User::whereHas('userRoles', function ($q) {
$q->whereHas('role', function ($rq) {
$rq->whereIn('name', ['sales', 'manager', 'recruiter']);
$rq->whereIn('name', ['sales', 'manager']);
});
})->orderBy('name')->get();