mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Vouchers: Fix CSV export for all-product vouchers
This commit is contained in:
@@ -77,6 +77,8 @@ class VoucherList(PaginationMixin, EventPermissionRequiredMixin, ListView):
|
|||||||
prod = '%s' % str(v.item)
|
prod = '%s' % str(v.item)
|
||||||
elif v.quota:
|
elif v.quota:
|
||||||
prod = _('Any product in quota "{quota}"').format(quota=str(v.quota.name))
|
prod = _('Any product in quota "{quota}"').format(quota=str(v.quota.name))
|
||||||
|
else:
|
||||||
|
prod = _('Any product')
|
||||||
row = [
|
row = [
|
||||||
v.code,
|
v.code,
|
||||||
v.valid_until.isoformat() if v.valid_until else "",
|
v.valid_until.isoformat() if v.valid_until else "",
|
||||||
|
|||||||
Reference in New Issue
Block a user