fix(725-6): 바탕 없는 단가산출 공통 옵션 칸(더한줄 로직 입력 모음) · 상세 못 셈 줄 금액 「—」 + 까닭 풍선

- 바탕 없는 SK = 더한줄 로직 입력을 모아(같은 이름 하나) 공통 옵션 칸으로 보임 · 값 자리 = 시험 입력 그대로 · 바탕 있으면 지금 그대로
- 입력 바꾸면 SK 셈 바로(바탕 없음 = 시험 계산 단추 없음) · 셈 때 SK 줄 입력 아닌 이름은 거름(공통 옵션 지역이 SK 줄에서 「모르는 입력」으로 멈춤)
- 공용 상세 줄 금액 칸 = 까닭 있는 줄만 「—」 + 풍선(M01 줄은 까닭 없음 = 전후 같음)
- 시험 test_725_1 에 바탕 없음 지역 서울 5,297.37 · 화면 짜임 단언 더함

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-02 00:49:31 +09:00
co-authored by Claude Sonnet 5.5
parent 79c48ee480
commit 6a429560fb
5 changed files with 57 additions and 3 deletions
@@ -454,6 +454,9 @@ function nameCell(e: Entry, label: string, tag: string): HTMLElement {
});
}
/** 못 셈 줄(725 · M02 단가산출) — 금액 「—」 + 까닭 풍선 */
const gapCell = (why: string): HTMLElement => el("span", { text: "—", attrs: { title: why } });
/** 보통 줄 · 몫 줄 — 누르면 그 줄 모달 */
function lineRow(e: Entry, ctx: HoContext, label = e.name): HTMLTableRowElement {
const tag = editTag(ctx, e.idx);
@@ -463,7 +466,7 @@ function lineRow(e: Entry, ctx: HoContext, label = e.name): HTMLTableRowElement
e.unit,
formulaCell(e, ctx),
e.price,
money(e.amount),
e.line?.까닭 ? gapCell(e.line.까닭) : money(e.amount),
]);
tr.classList.add("m01lab__line");
if (e.extra) tr.classList.add("m01lab__line--extra");