Attendee ticket page: Allow to hide prices (#3104)

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2023-02-09 14:37:10 +01:00
committed by GitHub
parent fba55f0292
commit 18986caa49
7 changed files with 165 additions and 123 deletions

View File

@@ -195,6 +195,19 @@ DEFAULTS = {
)
},
'hide_prices_from_attendees': {
'default': 'True',
'type': bool,
'form_class': forms.BooleanField,
'serializer_class': serializers.BooleanField,
'form_kwargs': dict(
label=_("Hide prices on attendee ticket page"),
help_text=_("If a person buys multiple tickets and you send emails to all of the attendees, with this "
"option the ticket price will not be shown on the ticket page of the individual attendees. "
"The ticket buyer will of course see the price."),
)
},
'system_question_order': {
'default': {},
'type': dict,