From 420d44e909095f0b00b03bada4eb05b339472c3e Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 17 Apr 2019 12:12:07 +0200 Subject: [PATCH] Fix #1170 -- E-mail address in check-in list --- .../control/templates/pretixcontrol/checkin/index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pretix/control/templates/pretixcontrol/checkin/index.html b/src/pretix/control/templates/pretixcontrol/checkin/index.html index bbe96c09ef..84cc4bc504 100644 --- a/src/pretix/control/templates/pretixcontrol/checkin/index.html +++ b/src/pretix/control/templates/pretixcontrol/checkin/index.html @@ -95,7 +95,15 @@ {% endif %} {{ e.item }}{% if e.variation %} – {{ e.variation }}{% endif %} - {{ e.order.email }} + + {% if e.addon_to and e.addon_to.attendee_email %} + {{ e.addon_to.attendee_email }} + {% elif e.attendee_email %} + {{ e.attendee_email }} + {% else %} + {{ e.order.email }} + {% endif %} + {% if e.addon_to %} {{ e.addon_to.attendee_name }}