diff --git a/app/modules/dispatch/store.py b/app/modules/dispatch/store.py index e88586d..0aa71b8 100644 --- a/app/modules/dispatch/store.py +++ b/app/modules/dispatch/store.py @@ -20,9 +20,10 @@ from typing import Any, Iterable # ── 작업 상태 필드(토글 대상) ── # 순서 = 작업 진행 순서. label_ko/label_en 은 버튼 표기. +# 상품은 미리 제작·박스 포장까지 끝난 상태로 들어오므로 product_ready/packed +# 단계는 화면에서 쓰지 않는다(DB 컬럼은 보존 — 과거 데이터/확장 대비). +# 실제 작업: 송장 라벨 부착 → Kagayaku 전달 → 택배 스캔 확인. STATUS_FIELDS: tuple[str, ...] = ( - "product_ready", - "packed", "label_attached", "handed_to_kagayaku", "courier_scanned", diff --git a/app/modules/dispatch/templates/dispatch/detail.html b/app/modules/dispatch/templates/dispatch/detail.html index da1582c..1ae9e61 100644 --- a/app/modules/dispatch/templates/dispatch/detail.html +++ b/app/modules/dispatch/templates/dispatch/detail.html @@ -42,8 +42,7 @@
- - + @@ -54,11 +53,9 @@
{% for p in parcels %} - {% set is_done = p.product_ready and p.packed and p.label_attached and p.handed_to_kagayaku and p.courier_scanned %} + {% set is_done = p.label_attached and p.handed_to_kagayaku and p.courier_scanned %}