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:
2026-10-30 14:36:53 +09:00
parent ede1f8e5e1
commit 38afbca839
9 changed files with 44 additions and 8 deletions
@@ -243,4 +243,4 @@
} | tojson }}</script>
{% endblock %}
{% block scripts %}<script src="/static/performance.js?v=20261027d" defer></script>{% endblock %}
{% block scripts %}<script src="/static/performance.js?v=20261030a" defer></script>{% endblock %}
@@ -167,7 +167,8 @@
{% if col.kind == 'group' %}
<td class="perf-num perf-td-group" data-group-cell="{{ c }}">{{ m3(m) }}</td>
{% elif col.kind == 'diff' %}{#- 카페24 − 카페24 공동구매(2026-10-30, dashboard._cafe24_ex_gb_column) — 계산 열이라 클릭·메모 없음 -#}
<td class="perf-num{% if glast %} is-glast{% endif %}"{{ gattr }}>{{ gc0 }}{{ m3(m) }}{{ gc1 }}</td>
{%- set b = r.cells[col.base] %}{#- 일 행 = 공동구매 칸 저장 때 performance.js 가 base(카페24 총매출,수수료,차감) − 새 값으로 바로 바꿈 -#}
<td class="perf-num{% if glast %} is-glast{% endif %}"{{ gattr }}{% if r.kind == 'day' %} data-diff-minus="{{ col.minus }}" data-base="{{ b.gross }},{{ b.commission }},{{ b.net }}"{% endif %}>{{ gc0 }}{{ m3(m) }}{{ gc1 }}</td>
{% elif r.kind == 'day' and c in manual_codes %}
{% set is_manual = (r.date ~ '|' ~ c) in manual_cells %}
{% set fx = (formula_cells or {}).get(r.date ~ '|' ~ c) %}
@@ -296,4 +297,4 @@
} | tojson }}</script>
{% endblock %}
{% block scripts %}<script src="/static/performance.js?v=20261027d" defer></script>{% endblock %}
{% block scripts %}<script src="/static/performance.js?v=20261030a" defer></script>{% endblock %}
@@ -328,4 +328,4 @@
</section>
{% endblock %}
{% block scripts %}<script src="/static/performance.js?v=20261027d" defer></script>{% endblock %}
{% block scripts %}<script src="/static/performance.js?v=20261030a" defer></script>{% endblock %}