{% extends "core/detail.html" %} {% load billing_tags seizou_tags %} {# 見出しの印は入金の状態 (未入金と一部入金 = 橙、入金済み = 緑)。取消の請求書は状態の印 (赤の線の「取消」)。「発行」は印にしない (決め 11-05 16:2x。N164)。 #} {% block heading_badge %}{% if object.status == "cancelled" %}{% status_badge object dot=True %}{% else %}入金{% payment_badge object dot=True %}{% endif %}{% endblock %} {% load seizou_tags seizou_icons %} {# 請求書の詳細: core の詳細 (基本情報と「明細」のタブ)。印刷用の画面と PDF は新しいタブで開く普通の link。取消でないときだけ「取り消す」。取消と入金の記録と入金の取消は小窓で開く (data-modal-form)。見出しの帯 (#invoice-heading) と中身 (#invoice-live) は、小窓で保存した後の seizou:refresh で取り直す (決め 11-05 11:4x。N158b)。頭の右の緑はその伝票で次にする操作 1 つ (UX-2 a。11-06 22:1x。無ければ今のまま): 発行で残があり、請求書の権限がある人に「入金を記録する」(入金の枠の同じボタンは白。全額入金済みでも枠から押せる。初見テスト R5 の候補 C93)。入金の枠は土台の block after_tabs (タブの後・添付ファイルの前) に置く (パソコンの窓で送らずに入金を読んで記録できるように。初見テスト R5 の候補 C26 の 1)。題の横の要点の札は「合計」「残」(billing_tags の invoice_head_chips。取消と金額の閲覧の無い人には出さない。決め 11-06 22:2x の C26-2 a)。 #} {% block heading %}
| 出荷日 | 出荷番号 | 品番 | 品名 | 数量 | 単位 | {% if not seizou.hide_money %}単価 | 金額 | {% endif %}
|---|---|---|---|---|---|---|---|
| {{ row.obj.shipped_on|date:"Y-m-d" }} | {{ row.obj.ref_no }} | {% master_link row.obj.order_line.item row.obj.order_line.item.part_no %} | {{ row.obj.order_line.item.name }} | {{ row.obj.qty|comma }} | {{ row.obj.order_line.item.unit }} | {% if not seizou.hide_money %}{{ row.obj.unit_price|yen }} / {{ row.obj.price_unit_text }} | {{ row.obj.amount|yen }} | {% endif %}
| 入金日 | {% if not seizou.hide_money %}金額 | {% endif %}入金の方法 | 備考 | 記録した人 | 記録の日時 | 状態 | 操作 |
|---|---|---|---|---|---|---|---|
| {{ row.received_on|date:"Y-m-d" }} | {% if not seizou.hide_money %}{{ row.amount|yen }} | {% endif %}{{ row.get_method_display }} | {% if row.note %}{{ row.note }}{% else %}—{% endif %} | {% if row.recorded_by %}{{ row.recorded_by }}{% else %}—{% endif %} | {{ row.recorded_at|date:"Y-m-d H:i" }} | {{ row.get_status_display }} | {% if row.status == "recorded" and can_bill %}{% icon "x" "size-4" %}取り消す{% endif %} |
入金は、まだ記録されていません。
{% if object.status == "issued" and can_bill %}「入金を記録する」から 1 件目を記録します。
{% endif %}