Order-level questions

This commit is contained in:
Mira Weller
2026-08-11 12:36:11 +02:00
parent 49a67646d7
commit 31e5091b36
15 changed files with 507 additions and 372 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ from django.utils.translation import gettext_lazy as _
from phonenumber_field.formfields import PhoneNumberField
from pretix.base.forms.questions import (
BaseInvoiceAddressForm, BaseQuestionsForm, WrappedPhoneNumberPrefixWidget,
BaseInvoiceAddressForm, TicketQuestionsForm, WrappedPhoneNumberPrefixWidget,
guess_phone_prefix_from_request,
)
from pretix.base.templatetags.rich_text import rich_text
@@ -139,7 +139,7 @@ class InvoiceNameForm(InvoiceAddressForm):
del self.fields[f]
class CustomerAwareQuestionsForm(BaseQuestionsForm):
class CustomerAwareQuestionsForm(TicketQuestionsForm):
"""
The base class is responsible for asking order-related questions. This includes
the attendee name for admission tickets, if the corresponding setting is enabled,