fix: [payroll] 급여등록 사원선택에서 영업팀(외주) 제외
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user