mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Allow to exclude items from ticket generation explicitly
This commit is contained in:
@@ -77,9 +77,7 @@ class AllTicketsPDF(BaseExporter):
|
||||
)
|
||||
|
||||
for op in qs:
|
||||
if op.addon_to_id and not self.event.settings.ticket_download_addons:
|
||||
continue
|
||||
if not op.item.admission and not self.event.settings.ticket_download_nonadm:
|
||||
if not op.generate_ticket:
|
||||
continue
|
||||
|
||||
with language(op.order.locale):
|
||||
|
||||
Reference in New Issue
Block a user