mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Add Item.allow_waitinglist
This commit is contained in:
@@ -81,6 +81,10 @@ class WaitingView(EventViewMixin, FormView):
|
||||
messages.error(request, _("We could not identify the product you selected."))
|
||||
return redirect(self.get_index_url())
|
||||
|
||||
if not self.item_and_variation[0].allow_waitinglist:
|
||||
messages.error(request, _("The waiting list is disabled for this product."))
|
||||
return redirect(self.get_index_url())
|
||||
|
||||
self.subevent = None
|
||||
if request.event.has_subevents:
|
||||
if 'subevent' in request.GET:
|
||||
|
||||
Reference in New Issue
Block a user