feat(est): print progress and adjustment costs

This commit is contained in:
2026-11-07 10:27:09 +09:00
parent e4b7322bb6
commit 5f9b5432ec
4 changed files with 76 additions and 4 deletions
+8 -1
View File
@@ -85,7 +85,12 @@ const EstReport = (() => {
? EstNative.groups(state.project.tables[state.view] || []).get(state.group)?.rows[0]
?.Name
: "");
const totals = ["progress-summary", "escalation-summary"].includes(form?.Index)
const totals = [
"progress-summary",
"progress-costs",
"escalation-summary",
"escalation-costs",
].includes(form?.Index)
? null
: state.project.calculation;
const errors = [...(totals?.errors || []), ...(output?.errors || [])];
@@ -132,7 +137,9 @@ const EstReport = (() => {
}));
catalog.push(
{ Index: "progress-summary", Name: "기성 내역서", Name2: "기성 내역서" },
{ Index: "progress-costs", Name: "기성 원가계산서", Name2: "기성 원가계산서" },
{ Index: "escalation-summary", Name: "물가변동 내역서", Name2: "물가변동 내역서" },
{ Index: "escalation-costs", Name: "물가변동 원가계산서", Name2: "물가변동 원가계산서" },
{ Index: "annual-summary", Name: "연차 배분표", Name2: "연차 배분표" },
);
const table = EstApp.state.project.tables[EstApp.state.view];