{% extends "erp_base.html" %} {% block head_extra %}{% endblock %} {% block content %} {# 출고 묶음 보기 — 상자 계산 화면과 같은 3열 구성. 읽기 전용(수정 없음). #}
◀◀ 달력 {{ shipment.status }}

① 품목

{{ items|length }}종 · {{ total_qty }}개
{% for it in items %} {% endfor %} {% if not items %} {% endif %}
제품명수량
{{ it.product_name }} {{ it.quantity }}
품목이 없습니다.

② 상자 목록

상자마다 담긴 제품과 수량
총 상자 {{ box_list|length }}상자 제품별 + 혼합
출고 {{ shipment.outbound_summary or '—' }} 확정 시 기록
총 수량 {{ total_qty }}개 {{ items|length }}종
    {% for b in box_list %}
  • {{ b.no }} {{ b.box_name or '상자' }} {% if b.kind == 'mix' %}혼합{% endif %} {{ b.quantity }}개
      {% for it in b['items'] %}
    • {{ it.product_name }}{{ it.quantity }}개
    • {% endfor %}
  • {% endfor %} {% if not box_list %}
  • 상자 정보가 없습니다.
  • {% endif %}

③ 센터

출고 #{{ shipment.id }}
{{ shipment.center_name_snapshot or '센터 미지정' }} {{ shipment.ship_method }} {{ calc.grand_total_boxes }}상자 {{ total_qty }}개
    {% if shipment.box_plan %} {% for e in shipment.box_plan %}
  • {{ e.name }} {{ e.count }}상자 · {{ e.quantity }}개
    {% if e.kind == 'mix' and e['items'] %}
      {% for it in e['items'] %}
    • {{ it.product_name }} {{ it.quantity }}개
    • {% endfor %}
    {% endif %}
  • {% endfor %} {% else %} {% for it in items %}
  • {{ it.product_name }} {{ it.quantity }}개
  • {% endfor %} {% endif %}
작성일
{{ shipment.document_date }}
출고일
{{ shipment.ship_date }}
센터입고일
{{ shipment.center_arrival_date }}
작업자
{{ shipment.worker or '—' }}
{% if shipment.memo %}
메모
{{ shipment.memo }}
{% endif %}
{% endblock %}