Merge remote-tracking branch 'origin/sub_laptop_4' into sub_laptop_3

This commit is contained in:
2026-09-19 23:40:23 +09:00
29 changed files with 859 additions and 607 deletions
@@ -81,6 +81,8 @@ export interface CalcLine {
단가: number;
금액: number;
비목: Record<string, number>;
/** 값 없는 요소를 다른 요소로 셈 — 「준용: <직종>」 */
출처?: string;
}
export type CalcAnswer =
| {
@@ -104,7 +104,7 @@ function answerView(answer: CalcAnswer, draft: boolean): HTMLElement[] {
const rows = answer.lines.map((line) =>
el("tr", {
children: [
el("td", { text: line.이름 }),
el("td", { text: line.출처 ? `${line.} (${line.})` : line. }),
el("td", { text: `${formatNumber(line.)} ${line.}` }),
el("td", { className: "m01-logic__money", text: formatNumber(line.) }),
],