fix: [payroll] 급여등록 사원선택에서 영업팀(외주) 제외

This commit is contained in:
김보곤
2026-03-12 09:56:46 +09:00
parent a0ba7fc13f
commit da1acc9d1e

View File

@@ -757,6 +757,7 @@ public function getActiveEmployees(): Collection
->with('user:id,name')
->forTenant($tenantId)
->activeEmployees()
->whereDoesntHave('department', fn ($q) => $q->where('name', '영업팀'))
->orderBy('display_name')
->get(['id', 'user_id', 'display_name', 'department_id', 'json_extra']);
}