mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Waiting list export: Add product IDs (Z#23192538) (#5134)
This commit is contained in:
@@ -108,8 +108,10 @@ class WaitingListExporter(ListExporter):
|
|||||||
_('Name'),
|
_('Name'),
|
||||||
_('Email'),
|
_('Email'),
|
||||||
_('Phone number'),
|
_('Phone number'),
|
||||||
_('Product name'),
|
_('Product'),
|
||||||
|
_('Product ID'),
|
||||||
_('Variation'),
|
_('Variation'),
|
||||||
|
_('Variation ID'),
|
||||||
_('Event slug'),
|
_('Event slug'),
|
||||||
_('Event name'),
|
_('Event name'),
|
||||||
pgettext_lazy('subevents', 'Date'), # Name of subevent
|
pgettext_lazy('subevents', 'Date'), # Name of subevent
|
||||||
@@ -146,7 +148,9 @@ class WaitingListExporter(ListExporter):
|
|||||||
entry.email,
|
entry.email,
|
||||||
entry.phone,
|
entry.phone,
|
||||||
str(entry.item) if entry.item else "",
|
str(entry.item) if entry.item else "",
|
||||||
|
str(entry.item.pk) if entry.item else "",
|
||||||
str(entry.variation) if entry.variation else "",
|
str(entry.variation) if entry.variation else "",
|
||||||
|
str(entry.variation.pk) if entry.variation else "",
|
||||||
entry.event.slug,
|
entry.event.slug,
|
||||||
entry.event.name,
|
entry.event.name,
|
||||||
entry.subevent.name if entry.subevent else "",
|
entry.subevent.name if entry.subevent else "",
|
||||||
|
|||||||
Reference in New Issue
Block a user