feat(management): add yearly project-applied vs common admin expense split

This commit is contained in:
hikim2 committed 2026-05-04 10:01:49 +09:00
1 parent c13f596453
commit eab0a5bb3f
2 files changed
+70

No files matched your search

+18
View File
@@ -6172,6 +6172,16 @@
<div style={{ fontSize: 18, fontWeight: 700 }}>{yearItem.year}년</div>
<div style={{ fontSize: 22, fontWeight: 700 }}>{fmtEokManagement(yearItem.total_expense || 0)}</div>
</div>
<div style={{ display: "grid", gridTemplateColumns: "1fr 1fr", gap: 8, marginTop: 8 }}>
<div style={{ padding: "8px 10px", border: "1px solid rgba(233, 240, 247, 0.9)", borderRadius: 10 }}>
<div className="subtle" style={{ fontSize: 11 }}>프로젝트 적용 관리비</div>
<div style={{ marginTop: 4, fontWeight: 700 }}>{fmtEokManagement(yearItem.project_applied_admin_expense || 0)}</div>
</div>
<div style={{ padding: "8px 10px", border: "1px solid rgba(233, 240, 247, 0.9)", borderRadius: 10 }}>
<div className="subtle" style={{ fontSize: 11 }}>공통관리비</div>
<div style={{ marginTop: 4, fontWeight: 700 }}>{fmtEokManagement(yearItem.common_admin_expense || 0)}</div>
</div>
</div>
<div style={{ display: "grid", gap: 8, marginTop: 14 }}>
{(yearItem.categories || []).map((category) => (
<button
@@ -6439,6 +6449,8 @@
{[
"연도",
"총 지출",
"프로젝트 적용 관리비",
"공통관리비",
"일반운영비",
"법정,의무",
"외부전문,전략",
@@ -6479,6 +6491,12 @@
<td style={{ padding: "14px", borderBottom: "1px solid var(--line)", textAlign: "right", fontWeight: 700 }}>
{fmtEokManagement(yearItem.total_expense || 0)}
</td>
<td style={{ padding: "14px", borderBottom: "1px solid var(--line)", textAlign: "right", fontWeight: 700 }}>
{fmtEokManagement(yearItem.project_applied_admin_expense || 0)}
</td>
<td style={{ padding: "14px", borderBottom: "1px solid var(--line)", textAlign: "right", fontWeight: 700 }}>
{fmtEokManagement(yearItem.common_admin_expense || 0)}
</td>
{[
"일반운영비",
"법정,의무",