feat(실적): 공동구매 칸 저장 즉시 카페24(공구 제외) 칸 반영
- 공동구매 날짜 칸을 저장하면 같은 줄 차이 칸 = 카페24 − 저장 응답(총매출·수수료·차감) - 차이 칸에 data-diff-minus·data-base(카페24 값) — 일 행만, 합계 줄은 새로고침 때 - performance.js 캐시 버전 20261030a Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,8 @@ def _cafe24_ex_gb_column(markets: Sequence[Mapping[str, Any]], codes: Sequence[s
|
||||
if gb is None or "cafe24" not in codes:
|
||||
return
|
||||
i = next(i for i, col in enumerate(cols) if col["code"] == gb)
|
||||
cols.insert(i + 1, {"code": CAFE24_EX_GB, "kind": "diff", "group": cols[i]["group"]})
|
||||
# base·minus = 화면이 공동구매 칸 저장 때 이 줄 차이 칸을 바로 다시 계산할 때 씀(performance.js saveManual)
|
||||
cols.insert(i + 1, {"code": CAFE24_EX_GB, "kind": "diff", "group": cols[i]["group"], "base": "cafe24", "minus": gb})
|
||||
names[CAFE24_EX_GB] = f"{names['cafe24']} − {names[gb]}"
|
||||
short[CAFE24_EX_GB] = f"{short['cafe24']}(공구 제외)"
|
||||
for r in table:
|
||||
|
||||
Reference in New Issue
Block a user