From 3708dab656daad9be98dd92d1104abdba977a066 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 7 Oct 2020 09:25:53 +0200 Subject: [PATCH] Add allow_entry_after_exit field to subevent editing --- src/pretix/control/forms/checkin.py | 1 + src/pretix/control/templates/pretixcontrol/subevents/bulk.html | 2 ++ .../control/templates/pretixcontrol/subevents/detail.html | 2 ++ 3 files changed, 5 insertions(+) diff --git a/src/pretix/control/forms/checkin.py b/src/pretix/control/forms/checkin.py index 642f7cf659..ff7f0eb7bf 100644 --- a/src/pretix/control/forms/checkin.py +++ b/src/pretix/control/forms/checkin.py @@ -83,6 +83,7 @@ class SimpleCheckinListForm(forms.ModelForm): 'all_products', 'limit_products', 'include_pending', + 'allow_entry_after_exit', ] widgets = { 'limit_products': forms.CheckboxSelectMultiple(attrs={ diff --git a/src/pretix/control/templates/pretixcontrol/subevents/bulk.html b/src/pretix/control/templates/pretixcontrol/subevents/bulk.html index ad2101f2c0..40bbecb0cd 100644 --- a/src/pretix/control/templates/pretixcontrol/subevents/bulk.html +++ b/src/pretix/control/templates/pretixcontrol/subevents/bulk.html @@ -508,6 +508,7 @@ {% bootstrap_field form.include_pending layout="control" %} {% bootstrap_field form.all_products layout="control" %} {% bootstrap_field form.limit_products layout="control" %} + {% bootstrap_field form.allow_entry_after_exit layout="control" %} {% endfor %} @@ -536,6 +537,7 @@ {% bootstrap_field cl_formset.empty_form.include_pending layout="control" %} {% bootstrap_field cl_formset.empty_form.all_products layout="control" %} {% bootstrap_field cl_formset.empty_form.limit_products layout="control" %} + {% bootstrap_field cl_formset.empty_form.allow_entry_after_exit layout="control" %} {% endescapescript %} diff --git a/src/pretix/control/templates/pretixcontrol/subevents/detail.html b/src/pretix/control/templates/pretixcontrol/subevents/detail.html index c9b4ec586d..aa3cc90b74 100644 --- a/src/pretix/control/templates/pretixcontrol/subevents/detail.html +++ b/src/pretix/control/templates/pretixcontrol/subevents/detail.html @@ -192,6 +192,7 @@ {% bootstrap_field form.include_pending layout="control" %} {% bootstrap_field form.all_products layout="control" %} {% bootstrap_field form.limit_products layout="control" %} + {% bootstrap_field form.allow_entry_after_exit layout="control" %} {% endfor %} @@ -220,6 +221,7 @@ {% bootstrap_field cl_formset.empty_form.include_pending layout="control" %} {% bootstrap_field cl_formset.empty_form.all_products layout="control" %} {% bootstrap_field cl_formset.empty_form.limit_products layout="control" %} + {% bootstrap_field cl_formset.empty_form.allow_entry_after_exit layout="control" %} {% endescapescript %}