Allow to keep a few per ticket when cancelling an event

This commit is contained in:
Raphael Michel
2020-10-30 15:49:34 +01:00
parent b841878dcb
commit 9202aca26a
5 changed files with 142 additions and 23 deletions

View File

@@ -641,6 +641,12 @@ class EventCancelForm(forms.Form):
max_digits=10, decimal_places=2,
required=False
)
keep_fee_per_ticket = forms.DecimalField(
label=_("Keep a fixed cancellation fee per ticket"),
help_text=_("Free tickets and add-on products are not counted"),
max_digits=10, decimal_places=2,
required=False
)
keep_fee_percentage = forms.DecimalField(
label=_("Keep a percentual cancellation fee"),
max_digits=10, decimal_places=2,