mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Add order date to CSV attendee list
This commit is contained in:
@@ -320,6 +320,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
|
||||
|
||||
headers.append(_('Company'))
|
||||
headers.append(_('Voucher code'))
|
||||
headers.append(_('Order date'))
|
||||
yield headers
|
||||
|
||||
for op in qs:
|
||||
@@ -372,6 +373,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
|
||||
|
||||
row.append(ia.company)
|
||||
row.append(op.voucher.code if op.voucher else "")
|
||||
row.append(op.order.datetime.astimezone(self.event.timezone).strftime('%Y-%m-%d'))
|
||||
yield row
|
||||
|
||||
def get_filename(self):
|
||||
|
||||
Reference in New Issue
Block a user