API: CartPositions (#948)

This commit is contained in:
Raphael Michel
2018-06-11 13:18:37 +02:00
committed by GitHub
parent 2e906b0bf5
commit 5d7931fcaf
10 changed files with 782 additions and 10 deletions

View File

@@ -25,7 +25,8 @@ class AllTicketsPDF(BaseExporter):
continue
if not op.item.admission and not self.event.settings.ticket_download_nonadm:
continue
o._draw_page(p, op, op.order)
layout = o.layout_map.get(op.item_id, o.default_layout)
o._draw_page(layout, p, op, op.order)
p.save()
outbuffer = o._render_with_background(buffer)