mirror of
https://github.com/pretix/pretix.git
synced 2026-09-13 16:14:40 +00:00
Order-level questions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user