feat(performance): 일자별 표 날짜 mm/dd(요일)·폭 210px, 주문 내역 창 열 제목 고정·취소 표시
- 일자별 × 쇼핑몰: 날짜 "09/01(화)" 형식, 공휴일 이름은 날짜 바로 오른쪽, 날짜 열 너비 210px 고정 - 주문 내역 창: 열 제목 가운데·굵게·150%(18px), 창을 스크롤해도 위에 고정 - 구분 "취소"는 기울임 + 취소선 + 회색 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -188,7 +188,8 @@
|
||||
sum += r.amount;
|
||||
if (r.amount >= 0) sales += r.amount; else minus += r.amount;
|
||||
return '<tr class="' + (r.amount < 0 ? "perf-ev-cancel" : "") + '">' +
|
||||
"<td>" + esc(r.sales_date) + "</td><td>" + esc(KIND[r.event_type] || r.event_type) +
|
||||
"<td>" + esc(r.sales_date) + "</td><td" + (r.event_type === "CANCEL" ? ' class="perf-ev-kind-cancel"' : "") + ">" +
|
||||
esc(KIND[r.event_type] || r.event_type) +
|
||||
(r.is_sample ? ' <span class="perf-pill">테스트</span>' : "") + "</td>" +
|
||||
"<td>" + esc(r.external_order_id) + "</td>" +
|
||||
"<td>" + esc(r.product_name) + (r.option_name ? " <span class='perf-muted'>" + esc(r.option_name) + "</span>" : "") + "</td>" +
|
||||
@@ -198,7 +199,7 @@
|
||||
"<td>" + esc(r.order_status) + "</td></tr>";
|
||||
}).join("");
|
||||
m.body.innerHTML =
|
||||
'<div class="erp-table-wrap"><table class="perf-table"><thead><tr>' +
|
||||
'<div class="perf-ev-wrap"><table class="perf-table perf-ev-table"><thead><tr>' +
|
||||
'<th class="perf-th-label">매출일</th><th class="perf-th-label">구분</th><th class="perf-th-label">주문번호</th>' +
|
||||
'<th class="perf-th-label">상품명</th><th>수량</th><th>금액</th><th class="perf-th-label">주문일</th>' +
|
||||
'<th class="perf-th-label">결제일</th><th class="perf-th-label">상태</th></tr></thead><tbody>' + body +
|
||||
|
||||
Reference in New Issue
Block a user