diff --git a/app/modules/inout/templates/inout/index.html b/app/modules/inout/templates/inout/index.html index 2470ac4..af64f58 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 %}
diff --git a/app/modules/inout/templates/inout/order_detail.html b/app/modules/inout/templates/inout/order_detail.html index 243f39a..ae5f1dc 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') %} @@ -158,8 +158,8 @@ 입고증 사진 (최대 {{ max_photos }}장) diff --git a/app/modules/inout/templates/inout/order_form.html b/app/modules/inout/templates/inout/order_form.html index 278d6bd..4d95e70 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 %}
diff --git a/app/modules/inout/templates/inout/pending.html b/app/modules/inout/templates/inout/pending.html index 6789dd9..4fe598e 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 %}
diff --git a/app/static/inout.css b/app/static/inout.css index 35521df..f2822a6 100644 --- a/app/static/inout.css +++ b/app/static/inout.css @@ -305,3 +305,10 @@ .io-receipt-bar.is-locked .erp-btn, .io-receipt-bar.is-locked .io-photo-pick, .io-receipt-bar.is-locked input { cursor: not-allowed; pointer-events: none; } .io-table .io-recv:disabled { opacity: .5; cursor: not-allowed; background: #f3f4f6; } .io-recv-done-note { color: #1e7a34; font-weight: 600; } + +/* 입고 줄 — 입력칸·[입고증 업로드]·[남은 수량 모두 채우기]·[입고 저장] 높이를 34px 로 맞춤(2026-10-19). + 입고증 업로드의 사진 아이콘은 버튼 높이에 거의 꽉 차게(28px, 위아래 여백 없이) */ +.io-receipt-bar .erp-field input, .io-receipt-bar .erp-btn, .io-receipt-bar .io-photo-pick { height: 34px; box-sizing: border-box; } +.io-receipt-bar .erp-btn { display: inline-flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; } +.io-receipt-bar .io-photo-pick { padding: 0 12px 0 8px; gap: 6px; } +.io-receipt-bar .io-photo-pick-icon { flex: none; width: 28px; height: 28px; } diff --git a/docs/INOUT_MODULE.md b/docs/INOUT_MODULE.md index c7944a6..6a9e36f 100644 --- a/docs/INOUT_MODULE.md +++ b/docs/INOUT_MODULE.md @@ -128,7 +128,7 @@ cupang·malaysia 와 같은 DSN). 화면에서 코드·이름으로 검색(`GET ## 6-2. 입고증 사진(2026-10-16, 마이그레이션 003) -- 입고 담당이 **입고 저장 때** [사진 고르기·찍기](여러 장, 휴대폰은 카메라) — 브라우저가 긴 변 2000px JPEG 로 줄여 올린다 +- 입고 담당이 **입고 저장 때** [입고증 업로드](2026-10-19 이름 변경 — 예전 "사진 고르기·찍기", 여러 장, 휴대폰은 카메라) — 브라우저가 긴 변 2000px JPEG 로 줄여 올린다 (4032×3024 7.9MB → 2000×1500 약 0.8MB, 줄인 게 더 크면 원본, HEIC·GIF 는 그대로). 입고 한 건에 **10장**, 한 장 **10MB**까지. - 서버는 파일 머리로 종류를 판단(`store.sniff_image` — JPG·PNG·WEBP·GIF·HEIC, SVG·PDF 등 거절)하고 **입고와 한 트랜잭션**으로 `inout_receipt_photos`(bytea — 백업에 함께)에 넣는다 — 사진이 틀리면 입고도 저장 안 함, 초과 확인에 막혀도 사진 저장 안 함.