Show seat in web and PDF check-in list

This commit is contained in:
Raphael Michel
2019-11-22 13:31:17 +01:00
parent 84fb25e4d9
commit 50dabb5b26
5 changed files with 14 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ class CheckInListShow(EventPermissionRequiredMixin, PaginationMixin, ListView):
def get_context_data(self, **kwargs):
ctx = super().get_context_data(**kwargs)
ctx['checkinlist'] = self.list
ctx['seats'] = self.list.subevent.seating_plan if self.list.subevent else self.request.event.seating_plan
ctx['filter_form'] = self.filter_form
for e in ctx['entries']:
if e.last_checked_in: