feat:유치 파트너 현황에 개인/단체 유형 배지 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-19 09:00:51 +09:00
parent aed42cd4f2
commit 41e7eca92d
2 changed files with 9 additions and 1 deletions

View File

@@ -541,7 +541,7 @@ private function getPartnerActivityData(): array
// 직접 유치한 하위 파트너 목록 (parent_id가 현재 사용자인 사용자들)
$recruitedPartners = User::where('parent_id', $currentUserId)
->where('is_active', true)
->with(['userRoles.role'])
->with(['userRoles.role', 'salesPartner'])
->get();
$partnerIds = $recruitedPartners->pluck('id')->toArray();