{% load seizou_icons seizou_tags %} {# 調整の取消の確かめのカード (依頼書 N409b。入金の取消の billing/_payment_cancel_card.html と同じ形)。全体の画面 (billing/adjustment_cancel.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)。 #} {# 「キャンセル」: 調整には一覧の URL が無く、?next= が無いと土台の cancel_url が空になる。そのときは、その調整の請求書の詳細の入金の枠へ戻す (入金の取消と同じ)。小窓は「キャンセル」を出さない。 #} {% if in_modal or cancel_url %}{% include "core/_form_card.html" %}{% else %}{% url 'billing:invoice_detail' object.invoice_id as invoice_url %}{% include "core/_form_card.html" with cancel_url=invoice_url|add:"#payments" %}{% endif %}