Add customizable terms of cancellation (Z#23135646) (#3704)

* Order: show user_cancel_deadline

* move to own parapgraph

* Remove date, add free text input for terms
This commit is contained in:
Richard Schreiber
2023-11-16 12:29:57 +01:00
committed by GitHub
parent 71e515f9c2
commit baf6144ee7
5 changed files with 54 additions and 24 deletions

View File

@@ -14,6 +14,7 @@
{% bootstrap_field form.cancel_allow_user_unpaid_keep layout="control" %}
{% bootstrap_field form.cancel_allow_user_unpaid_keep_percentage layout="control" %}
{% bootstrap_field form.cancel_allow_user_unpaid_keep_fees layout="control" %}
{% bootstrap_field form.cancel_terms_unpaid layout="control" %}
</fieldset>
<fieldset>
<legend>{% trans "Paid orders" %}</legend>
@@ -32,6 +33,7 @@
{% bootstrap_field form.cancel_allow_user_paid_adjust_fees_step layout="control" %}
</div>
{% bootstrap_field form.cancel_allow_user_paid_refund_as_giftcard layout="control" %}
{% bootstrap_field form.cancel_terms_paid layout="control" %}
{% if not gets_notification %}
<div class="alert alert-warning">
{% blocktrans trimmed %}