feat(inout): 달력 공휴일 이름을 날짜 숫자 아래에 표시

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 14:08:14 +09:00
parent cba4b3b441
commit a396b94a9f
7 changed files with 17 additions and 8 deletions
+2
View File
@@ -792,11 +792,13 @@
if (iso === data.today) cls.push("is-today");
if (wd === 0 || hol) cls.push("is-sun"); else if (wd === 6) cls.push("is-sat");
if (ev.orders.length || ev.receipts.length) cls.push("has-ev");
if (hol) cls.push("has-hol");
const tip = [iso.replace(/-/g, ".") + "(" + WD[wd] + ")" + (hol ? " " + hol : "")];
if (ev.orders.length) tip.push("발주 " + ev.orders.length + "건");
if (ev.receipts.length) tip.push("입고 " + ev.receipts.length + "건");
html += '<button type="button" class="' + cls.join(" ") + '" data-date="' + iso + '" title="' + escH(tip.join(" · ")) + '">' +
'<span class="io-cal-num">' + d.getDate() + "</span>" +
(hol ? '<span class="io-cal-hol">' + escH(hol) + "</span>" : "") + // 공휴일 이름 = 숫자 아래
'<span class="io-cal-marks">' +
(ev.orders.length ? '<i class="io-cal-m is-order">' + ev.orders.length + "</i>" : "") +
(ev.receipts.length ? '<i class="io-cal-m is-receipt">' + ev.receipts.length + "</i>" : "") +