mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Check-in log exporter: Expose upload time
This commit is contained in:
@@ -619,6 +619,8 @@ class CheckinLogList(ListExporter):
|
|||||||
_('Gate'),
|
_('Gate'),
|
||||||
_('Result'),
|
_('Result'),
|
||||||
_('Error message'),
|
_('Error message'),
|
||||||
|
_('Upload date'),
|
||||||
|
_('Upload time'),
|
||||||
]
|
]
|
||||||
|
|
||||||
qs = Checkin.all.filter(
|
qs = Checkin.all.filter(
|
||||||
@@ -662,7 +664,9 @@ class CheckinLogList(ListExporter):
|
|||||||
_('Yes') if ci.auto_checked_in else _('No'),
|
_('Yes') if ci.auto_checked_in else _('No'),
|
||||||
str(ci.gate or ''),
|
str(ci.gate or ''),
|
||||||
_('OK') if ci.successful else ci.get_error_reason_display(),
|
_('OK') if ci.successful else ci.get_error_reason_display(),
|
||||||
ci.error_explanation or ''
|
ci.error_explanation or '',
|
||||||
|
date_format(ci.created.astimezone(self.timezone), 'SHORT_DATE_FORMAT'),
|
||||||
|
date_format(ci.created.astimezone(self.timezone), 'TIME_FORMAT'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_filename(self):
|
def get_filename(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user