{% extends "core/list.html" %} {% load seizou_icons seizou_tags static %} {# 注文残の一覧 (注残の盤): 土台の一覧に、受注の一覧への入口を足す。絞り (出荷の残りがある物だけ・納期・納期が過ぎた物だけ) は土台の絞り込みの枠の中 (orders/views.py の宣言。決め 11-04 17:3x)。 #} {% block actions %}{% icon "clipboard" "size-4" %}受注の一覧{{ block.super }}{% endblock %} {# 題の下の 1 行は、この画面だけに出す (決め 11-04 18:1x。題は「生産管理ボード」、中身は受注残)。 #} {% block heading %}{{ block.super }}
受注残 (出荷の残りがある注文の明細)
{% endblock %} {% block content %} {% can_write "shipping.Shipment" as can_ship %}{% can_write "purchasing.PurchaseOrder" as can_po %}{% url 'shipping:shipment_bulk_create' as bulk_ship_url %}{% url 'purchasing:purchaseorder_create' as bulk_po_url %} {% if bulk_ship_url and can_ship or bulk_po_url and can_po %} {# 選んだ行の操作: 行の選ぶ欄 (見せない欄。form の属性が board-bulk) の値を、ボタンが htmx で小窓に読む。行の押下で欄を切り替え、1 行も選んでいないときは帯を隠すのは JS (orders/board-select.js)。 #} {# 「全部を選ぶ」は今のページの行を全部選び、「選択を外す」は全部外す (決め 11-04 22:4x。見出しの全部を選ぶ欄の代わり)。 #} {% endif %}