feat:영업관리 대시보드 수익 및 테넌트 관리 섹션 추가

- tenantStats 데이터 추가 (관리 테넌트, 총 가입비 실적, 누적 가입비 수당, 확정 가입비 수당)
- 실적 데이터 없음 안내 섹션 추가
- 수익 및 테넌트 관리 통계 카드 4개 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-27 19:14:29 +09:00
parent 7fbd04f4ee
commit 6b7b339d66
2 changed files with 103 additions and 0 deletions

View File

@@ -65,10 +65,19 @@ public function index(Request $request): View
// 총 가입비 대비 수당
$totalCommissionRatio = 0;
// 수익 및 테넌트 관리 통계 (임시 데이터 - 추후 실제 데이터로 교체)
$tenantStats = [
'total_tenants' => 0, // 관리 테넌트
'total_membership_revenue' => 0, // 총 가입비 실적
'total_commission_accumulated' => 0, // 누적 가입비 수당
'confirmed_commission' => 0, // 확정 가입비 수당
];
return view('sales.dashboard.index', compact(
'stats',
'commissionByRole',
'totalCommissionRatio',
'tenantStats',
'period',
'year',
'month',