From f6ec423e61ce113a3615f440dae425f05f630172 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Fri, 12 Jul 2024 10:22:38 +0200 Subject: [PATCH] Add check-in text to export --- src/pretix/plugins/checkinlists/exporters.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index 1b1647fe0..f7749f632 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -519,6 +519,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter): headers.append(_('Order time')) headers.append(_('Requires special attention')) headers.append(_('Comment')) + headers.append(_('Check-in text')) headers.append(_('Seat ID')) headers.append(_('Seat name')) headers.append(_('Seat zone')) @@ -626,6 +627,7 @@ class CSVCheckinList(CheckInListMixin, ListExporter): row.append(op.order.datetime.astimezone(self.event.timezone).strftime('%H:%M:%S')) row.append(_('Yes') if op.require_checkin_attention else _('No')) row.append(op.order.comment or "") + row.append("\n".join(text for text in [op.order.checkin_text, op.item.checkin_text] if text)) if op.seat: row += [