{% extends "erp_base.html" %} {% block head_extra %} {% endblock %} {% block content %} {% include "malaysia/_i18n.html" %} ◀◀ 조사 목록 재고조사 #{{ stocktake.id }} 날짜{{ stocktake.stocktake_date }} 창고{{ stocktake.warehouse_code }} 상태 {% if stocktake.status=='finalized' %}확정 {% elif stocktake.status=='cancelled' %}취소 {% else %}작성중{% endif %} {% if stocktake.finalized_at %}확정시각{{ stocktake.finalized_at }}{% endif %} {% if missing_bom %} ⚠ BOM 없는 콤보: {{ missing_bom|join(', ') }} {% endif %} {% if is_draft %} 입력 저장 {% endif %} 낱개 상품 CodeNameQty {% for it in individual_items %} {{ it.item_code }} {{ it.item_name }} {% endfor %} 콤보 상품 Set CodeSet NameQty {% for it in set_items %} {{ it.item_code }} {{ it.item_name }} {% endfor %} {% if is_draft %} {% if is_admin %} 확정 (전산 반영) {% endif %} 취소 {% endif %} {% if is_super %} 삭제 (슈퍼관리자) {% endif %} 최종 계산 (낱개 기준) total_qty = direct_qty(낱개 직접) + from_set_qty(콤보 분해) Item CodeProduct NameDirectFrom SetTotal {% for r in result_rows %} {{ r.item_code }} {{ r.item_name }} {{ r.direct_qty }} {{ r.from_set_qty }} {{ r.total_qty }} {% endfor %} {% if not result_rows %} 입력된 수량이 없습니다. {% endif %} {% endblock %}
⚠ BOM 없는 콤보: {{ missing_bom|join(', ') }}