info_desk/scan.html: show quantity if it's a ShopTicket and single_ticket_per_product is set

fixes #377.
This commit is contained in:
Florian Klink 2019-08-08 21:07:03 +02:00
parent 95e04b3741
commit aa252c3d11

View file

@ -56,6 +56,13 @@
<strong>Product:</strong>
<td>
{{ ticket.product }}
{% if ticket.ticket_type.single_ticket_per_product and ticket.shortname == "shop" %}
<tr>
<td>
<strong>Quantity:</strong>
<td>
{{ ticket.orp.quantity }}
{% endif %}
<tr>
<td>
<strong>Order:</strong>