feat:유치 파트너 현황에 개인/단체 유형 배지 추가
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user