매니저 스탯 카드 수정: 총 매출 제거 및 지급예정/지급완료 용어 변경

This commit is contained in:
2026-01-04 20:41:54 +09:00
parent b57a898ba8
commit b2f58a7957

View File

@@ -3257,21 +3257,23 @@
subtext="등록된 총 업체 수"
icon={<LucideIcon name="building-2" className="w-5 h-5" />}
/>
{currentRole !== '매니저' && (
<StatCard
title="총 매출액"
value={formatCurrency(stats.total_revenue)}
subtext="전체 계약 금액 합계"
icon={<LucideIcon name="bar-chart-3" className="w-5 h-5" />}
/>
)}
<StatCard
title="총 매출액"
value={formatCurrency(stats.total_revenue)}
subtext="전체 계약 금액 합계"
icon={<LucideIcon name="bar-chart-3" className="w-5 h-5" />}
/>
<StatCard
title="누적 예상 수익"
title={currentRole === '매니저' ? "지급예정 구독료" : "누적 예상 수익"}
value={formatCurrency(stats.total_commission)}
subtext="전체 수수료 합계"
subtext={currentRole === '매니저' ? "전체 계약 건 예상 구독료" : "전체 수수료 합계"}
icon={<LucideIcon name="coins" className="w-5 h-5" />}
/>
<div className="bg-gradient-to-br from-emerald-50 to-teal-50 rounded-card p-6 shadow-sm border border-emerald-200">
<div className="flex items-start justify-between mb-4">
<h3 className="text-sm font-medium text-emerald-700">확정 수익 (지급대상)</h3>
<h3 className="text-sm font-medium text-emerald-700">{currentRole === '매니저' ? "지급완료 구독액" : "확정 수익 (지급대상)"}</h3>
<div className="p-2 bg-emerald-100 rounded-lg text-emerald-600">
<LucideIcon name="check-circle" className="w-5 h-5" />
</div>