From c3901c567e6eafcb1ee86163d4696565dd318ccd Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 9 Sep 2019 11:07:22 +0200 Subject: [PATCH] Correctly respect both attention flag in check-in list exports --- src/pretix/plugins/checkinlists/exporters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/plugins/checkinlists/exporters.py b/src/pretix/plugins/checkinlists/exporters.py index a104d4fd3..a1ad8aa51 100644 --- a/src/pretix/plugins/checkinlists/exporters.py +++ b/src/pretix/plugins/checkinlists/exporters.py @@ -239,7 +239,7 @@ class PDFCheckinList(ReportlabExportMixin, CheckInListMixin, BaseExporter): name += "
" + iac row = [ - '!!' if op.item.checkin_attention else '', + '!!' if op.item.checkin_attention or op.order.checkin_attention else '', CBFlowable(bool(op.last_checked_in)), '✘' if op.order.status != Order.STATUS_PAID else '✔', op.order.code, @@ -396,7 +396,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')) - row.append(_('Yes') if op.order.checkin_attention else _('No')) + row.append(_('Yes') if op.order.checkin_attention or op.item.checkin_attention else _('No')) row.append(op.order.comment or "") yield row