|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
</footer>
|
|
|
|
|
</dialog>
|
|
|
|
|
{%- endmacro -%}
|
|
|
|
|
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021e" />{% endblock %}
|
|
|
|
|
{% block head_extra %}<link rel="stylesheet" href="/static/inout.css?v=20261021f" />{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% set active = order.status in ('open', 'partial') %}
|
|
|
|
@@ -105,10 +105,10 @@
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
<div class="erp-table-wrap">
|
|
|
|
|
<table class="erp-table io-table">
|
|
|
|
|
<table class="erp-table io-table io-items-table">
|
|
|
|
|
{# 입고 담당(발주 담당 아님) = 제품 이름·발주 수량(+ 이번 입고)만, 발주 담당 = 단가·금액·PP·은 함께 #}
|
|
|
|
|
<thead><tr><th class="io-col-no">#</th>{% if not items_limited %}<th>제품 코드</th>{% endif %}<th>제품</th><th class="io-num">발주</th>
|
|
|
|
|
{% if show_prices %}<th class="io-num io-col-money">단가(원)</th><th class="io-num io-col-money">금액(원)</th><th class="io-num io-col-spec">PP(g/개)</th><th class="io-num io-col-spec">은(Ag)</th>{% endif %}
|
|
|
|
|
{% if show_prices %}<th class="io-num io-col-money">단가(원)</th><th class="io-num io-col-money">금액(원)</th><th class="io-num io-col-spec">PP(g/개)</th><th class="io-num io-col-spec">은(Ag) 원료</th>{% endif %}
|
|
|
|
|
{% if not items_limited %}<th class="io-num">입고</th><th class="io-num">미입고</th><th>상태</th>{% endif %}
|
|
|
|
|
{% if receiving %}<th class="io-col-recv">이번 입고</th>{% endif %}</tr></thead>
|
|
|
|
|
<tbody>
|
|
|
|
@@ -139,12 +139,12 @@
|
|
|
|
|
</tbody>
|
|
|
|
|
{% if show_prices and order.lines %}
|
|
|
|
|
<tfoot><tr class="io-total-row">
|
|
|
|
|
<td colspan="3">합계</td>
|
|
|
|
|
<td colspan="3" class="io-total-label">합계</td>
|
|
|
|
|
<td class="io-num">{{ n(order.summary.ordered) }}</td>
|
|
|
|
|
<td class="io-num io-col-money"></td>
|
|
|
|
|
<td class="io-num io-col-money"><b>{{ fmt_num(totals.amount) if totals.amount is not none else '-' }}</b>{% if totals.missing_price %}<div class="erp-row-sub">단가 미입력 {{ totals.missing_price }}종 제외</div>{% endif %}</td>
|
|
|
|
|
<td class="io-num io-col-spec">{% if totals.pp_kg is not none %}{{ fmt_num(totals.pp_kg, 3) }}kg{% else %}-{% endif %}</td>
|
|
|
|
|
<td class="io-num io-col-spec">{% if totals.silver_g is not none %}{{ fmt_num(totals.silver_g, 2) }}g{% else %}-{% endif %}</td>
|
|
|
|
|
<td class="io-num io-col-spec">{% if totals.silver_g is not none %}{{ fmt_num(totals.silver_g / 1000, 3) }}kg{% else %}-{% endif %}</td>
|
|
|
|
|
{% if not items_limited %}<td colspan="3"></td>{% endif %}
|
|
|
|
|
{% if receiving %}<td></td>{% endif %}
|
|
|
|
|
</tr></tfoot>
|
|
|
|
|