Allow to disable self-choice seating

This commit is contained in:
Raphael Michel
2020-09-06 13:38:44 +02:00
parent fb701f25f4
commit d999971249
13 changed files with 94 additions and 31 deletions

View File

@@ -1744,6 +1744,18 @@ Your {event} team"""))
'default': settings.ENTROPY['giftcard_secret'],
'type': int
},
'seating_choice': {
'default': 'True',
'form_class': forms.BooleanField,
'serializer_class': serializers.BooleanField,
'form_kwargs': dict(
label=_("Customers can choose their own seats"),
help_text=_("If disabled, you will need to manually assign seats in the backend. Note that this can mean "
"people will not know their seat after their purchase and it might not be written on their "
"ticket."),
),
'type': bool,
},
'seating_minimal_distance': {
'default': '0',
'type': float