diff --git a/app/modules/inout/CLAUDE.md b/app/modules/inout/CLAUDE.md index 55b62a6..79a902d 100644 --- a/app/modules/inout/CLAUDE.md +++ b/app/modules/inout/CLAUDE.md @@ -58,6 +58,7 @@ - 단가(원)·무게(개당 g = PP량)·은(Ag) 함유량(%) 수기 입력(은 g = 무게 × % 자동). - 한 번 불러오면 발주서 제품은 이 목록에서. 발주 품목에 그때 값 사본(`unit_price`·`weight_g`·`silver_pct`). - 발주서·메일에 금액(수량 × 단가)·PP·은 함유량과 합계. +- 발주서 화면 품목 표(`.io-items-table`, 2026-10-21): 제목 행 검정·굵게·가운데, 머리글 "은(Ag) 원료", 합계 줄 검정·굵게·제목 크기, "합계" = 1~3열 가운데, 은 원료 합계 kg(소수 셋째). - **발주 메일 표**(2026-10-19, `store.order_mail`): 전체 무게(kg) = 개당 g × 수량 · **PP 사용량(kg)** = 전체 무게 − 은 무게(은 함유량 왼쪽 열) · 은(Ag) 함유량 = `30% (76.5kg)`(괄호 = 전체 무게 × %, kg 소수 넷째). 합계 줄·요약(전체 무게·PP 사용량·은 총량)도 kg. 첫 요약 표는 항목·값 두 쌍씩 4열(4×4), 요청 사항은 맨 아래 한 줄 전체. 발주서 화면 표는 예전 그대로(PP g/개). ## 상품 그룹·색상 (006, 2026-10-21) diff --git a/app/modules/inout/templates/inout/index.html b/app/modules/inout/templates/inout/index.html index 107d79c..f27d49e 100644 --- a/app/modules/inout/templates/inout/index.html +++ b/app/modules/inout/templates/inout/index.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} {% from "inout/_macros.html" import order_badge, progress, due, n, ymd %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #} diff --git a/app/modules/inout/templates/inout/order_detail.html b/app/modules/inout/templates/inout/order_detail.html index 70beaec..7ee4cc0 100644 --- a/app/modules/inout/templates/inout/order_detail.html +++ b/app/modules/inout/templates/inout/order_detail.html @@ -20,7 +20,7 @@ {%- endmacro -%} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %} {% set active = order.status in ('open', 'partial') %} @@ -105,10 +105,10 @@ {% endif %}
- +
{# 입고 담당(발주 담당 아님) = 제품 이름·발주 수량(+ 이번 입고)만, 발주 담당 = 단가·금액·PP·은 함께 #} {% if not items_limited %}{% endif %} - {% if show_prices %}{% endif %} + {% if show_prices %}{% endif %} {% if not items_limited %}{% endif %} {% if receiving %}{% endif %} @@ -139,12 +139,12 @@ {% if show_prices and order.lines %} - + - + {% if not items_limited %}{% endif %} {% if receiving %}{% endif %} diff --git a/app/modules/inout/templates/inout/order_form.html b/app/modules/inout/templates/inout/order_form.html index 6a33fbf..a5a23a7 100644 --- a/app/modules/inout/templates/inout/order_form.html +++ b/app/modules/inout/templates/inout/order_form.html @@ -1,5 +1,5 @@ {% extends "erp_base.html" %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #} diff --git a/app/modules/inout/templates/inout/pending.html b/app/modules/inout/templates/inout/pending.html index 075d114..f1ba15f 100644 --- a/app/modules/inout/templates/inout/pending.html +++ b/app/modules/inout/templates/inout/pending.html @@ -1,6 +1,6 @@ {% extends "erp_base.html" %} {% from "inout/_macros.html" import due, n, ymd %} -{% block head_extra %}{% endblock %} +{% block head_extra %}{% endblock %} {% block content %}
{# 2열 — 왼쪽 화면 | 오른쪽 달력(2026-10-21) #} diff --git a/app/static/inout.css b/app/static/inout.css index 8227d0f..435d452 100644 --- a/app/static/inout.css +++ b/app/static/inout.css @@ -469,3 +469,8 @@ .io-pal-cap b { color: #1d1d1f; font-variant-numeric: tabular-nums; } .io-pal-need { color: #b45309; font-weight: 600; } .io-pal-ok { color: #1e7a34; font-weight: 600; font-size: 12.5px; } + +/* ── 발주서 품목 표(2026-10-21): 제목 행 검정·굵게·가운데, 합계 줄 검정·굵게·제목과 같은 크기, "합계"는 1~3열 가운데 ── */ +.io-table.io-items-table thead th { text-align: center !important; color: var(--color-deep-black, #0a0a0a); font-weight: 700; } +.io-table.io-items-table tfoot .io-total-row td { color: var(--color-deep-black, #0a0a0a); font-weight: 700; font-size: var(--text-caption, 12px); } +.io-table.io-items-table tfoot .io-total-row td.io-total-label { text-align: center; }
#제품 코드제품발주단가(원)금액(원)PP(g/개)은(Ag)단가(원)금액(원)PP(g/개)은(Ag) 원료입고미입고상태이번 입고
합계합계 {{ n(order.summary.ordered) }} {{ fmt_num(totals.amount) if totals.amount is not none else '-' }}{% if totals.missing_price %}
단가 미입력 {{ totals.missing_price }}종 제외
{% endif %}
{% if totals.pp_kg is not none %}{{ fmt_num(totals.pp_kg, 3) }}kg{% else %}-{% endif %}{% if totals.silver_g is not none %}{{ fmt_num(totals.silver_g, 2) }}g{% else %}-{% endif %}{% if totals.silver_g is not none %}{{ fmt_num(totals.silver_g / 1000, 3) }}kg{% else %}-{% endif %}