mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Do not print canceled add-ons on orders
This commit is contained in:
@@ -192,6 +192,7 @@ DEFAULT_VARIABLES = OrderedDict((
|
||||
op.addons.all() if 'addons' in getattr(op, '_prefetched_objects_cache', {})
|
||||
else op.addons.select_related('item', 'variation')
|
||||
)
|
||||
if not p.canceled
|
||||
])
|
||||
}),
|
||||
("organizer", {
|
||||
|
||||
Reference in New Issue
Block a user