Multi-line location field, new field for admission time

This commit is contained in:
Raphael Michel
2017-05-10 12:58:57 +02:00
parent c9ae65a9a8
commit aac05727ed
10 changed files with 126 additions and 22 deletions

View File

@@ -82,7 +82,7 @@ class PdfTicketOutput(BaseTicketOutput):
elif o['content'] == 'event_name':
return str(order.event)
elif o['content'] == 'event_location':
return str(order.event.location)
return str(order.event.location).replace("\n", "<br/>\n")
elif o['content'] == 'event_date':
return order.event.get_date_from_display(show_times=False)
elif o['content'] == 'event_begin_time':