mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add order time to check-in list CSV export
This commit is contained in:
@@ -426,6 +426,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
|
||||
headers.append(_('Company'))
|
||||
headers.append(_('Voucher code'))
|
||||
headers.append(_('Order date'))
|
||||
headers.append(_('Order time'))
|
||||
headers.append(_('Requires special attention'))
|
||||
headers.append(_('Comment'))
|
||||
headers.append(_('Seat ID'))
|
||||
@@ -524,6 +525,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
|
||||
row.append(op.company or ia.company)
|
||||
row.append(op.voucher.code if op.voucher else "")
|
||||
row.append(op.order.datetime.astimezone(self.event.timezone).strftime('%Y-%m-%d'))
|
||||
row.append(op.order.datetime.astimezone(self.event.timezone).strftime('%H:%M:%S'))
|
||||
row.append(_('Yes') if op.order.checkin_attention or op.item.checkin_attention else _('No'))
|
||||
row.append(op.order.comment or "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user