From 7f6365cc8183de5ca0a31b62b6334e6b9fddac5f Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 23 Oct 2023 17:26:42 +0200 Subject: [PATCH] Add new check-in list flags to backend --- src/pretix/control/forms/checkin.py | 2 ++ .../control/templates/pretixcontrol/checkin/list_edit.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/pretix/control/forms/checkin.py b/src/pretix/control/forms/checkin.py index af7b64e07e..0012cfcf8d 100644 --- a/src/pretix/control/forms/checkin.py +++ b/src/pretix/control/forms/checkin.py @@ -113,6 +113,8 @@ class CheckinListForm(forms.ModelForm): 'gates', 'exit_all_at', 'addon_match', + 'consider_tickets_used', + 'ignore_in_statistics', ] widgets = { 'limit_products': forms.CheckboxSelectMultiple(attrs={ diff --git a/src/pretix/control/templates/pretixcontrol/checkin/list_edit.html b/src/pretix/control/templates/pretixcontrol/checkin/list_edit.html index c797ac979b..44e1386e33 100644 --- a/src/pretix/control/templates/pretixcontrol/checkin/list_edit.html +++ b/src/pretix/control/templates/pretixcontrol/checkin/list_edit.html @@ -71,6 +71,8 @@ {% if form.gates %} {% bootstrap_field form.gates layout="control" %} {% endif %} + {% bootstrap_field form.consider_tickets_used layout="control" %} + {% bootstrap_field form.ignore_in_statistics layout="control" %}

{% trans "Custom check-in rule" %}