feat(inout): 발주 메일 미리보기에서 본문 바로 고치기

미리보기 창을 눌러 글·표를 고치면 고친 본문 그대로 발송(안 고치면 서버 본문).
서버가 허용 태그·인라인 서식만 남기고 글 버전도 다시 만든다. [원래 본문으로]·닫을 때 확인.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 12:09:40 +09:00
parent 7275f12a74
commit f4d7e9588f
10 changed files with 221 additions and 14 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
{% from "inout/_macros.html" import order_badge, progress, due, n, ymd %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021f" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261027a" />{% endblock %}
{% block content %}
<div class="io-split">{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #}
@@ -71,4 +71,4 @@
{% include "inout/_calendar.html" %}
</div>
{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261021e" defer></script>{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261027a" defer></script>{% endblock %}
@@ -20,7 +20,7 @@
</footer>
</dialog>
{%- endmacro -%}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021f" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261027a" />{% endblock %}
{% block content %}
{% set active = order.status in ('open', 'partial') %}
@@ -258,4 +258,4 @@
{% include "inout/_calendar.html" %}
</div>
{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261021e" defer></script>{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261027a" defer></script>{% endblock %}
@@ -1,5 +1,5 @@
{% extends "erp_base.html" %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021f" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261027a" />{% endblock %}
{% block content %}
<div class="io-split">{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #}
@@ -95,4 +95,4 @@
{% include "inout/_calendar.html" %}
</div>
{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261021e" defer></script>{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261027a" defer></script>{% endblock %}
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
{% from "inout/_macros.html" import due, n, ymd %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021f" />{% endblock %}
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261027a" />{% endblock %}
{% block content %}
<div class="io-split">{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #}
@@ -91,4 +91,4 @@
{% include "inout/_calendar.html" %}
</div>
{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261021e" defer></script>{% endblock %}
{% block scripts %}<script src="/static/inout.js?v=20261027a" defer></script>{% endblock %}