{% load seizou_static seizou_tags %} {# 調整の記録のカード (依頼書 N409b。入金の記録の billing/_payment_create_card.html と同じ形)。入力の頭に請求書の番号と得意先と 合計・入金済み・調整・残 の 1 行 (確かめでなく入力の頭なので黄の帯にしない)。金額の欄は空で開く。残が 0 より大きく、金額の閲覧がある人には、残の右に「残を消す金額を入れる」(押すと残をマイナスにした数を金額の欄に入れる。保存はしない。入金の記録と同じ billing/payment-fill.js。510 回目)。全体の画面 (billing/adjustment_form.html) と小窓 (billing/_form_modal.html。510 回目) の両方が include する。 #} {# 金額の閲覧の無い人には、この画面は開いた時点で断る (本人の決め 11-12 07:2x)。seizou.hide_money の分かれは、直に送って断られた時と欄の誤りの描き直しで、金額と単価を見せないための守りとして残す (本人の決め 11-12 14:0x。消さない。試験 = tests/test_money_forms_hide_on_post.py)。 #}
請求書 {{ object.invoice_no }} ({{ object.customer.name }})。{% if not seizou.hide_money %}合計 {{ object.total|yen }}・入金済み {{ object.paid_total|yen }}・調整 {{ object.adjusted_total|yen }}・残 {{ object.balance|yen }}{% with balance=object.balance %}{% if balance > 0 %}{% endif %}{% endwith %}{% endif %}
{% include "core/_form_card.html" %}