mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Add checkin tick to order positions
This commit is contained in:
@@ -164,6 +164,9 @@
|
|||||||
{% if line.variation %}
|
{% if line.variation %}
|
||||||
– {{ line.variation }}
|
– {{ line.variation }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if line.checkins.all %}
|
||||||
|
<span class="fa fa-check" data-toggle="tooltip" title="{% blocktrans trimmed with date=line.checkins.all.0.datetime|date:'d.m.Y H:i' %}First scanned: {{ date }}{% endblocktrans %}"></span>
|
||||||
|
{% endif %}
|
||||||
{% if line.voucher %}
|
{% if line.voucher %}
|
||||||
<br/><span class="fa fa-tags"></span> {% trans "Voucher code used:" %}
|
<br/><span class="fa fa-tags"></span> {% trans "Voucher code used:" %}
|
||||||
<a href="{% url "control:event.voucher" event=request.event.slug organizer=request.event.organizer.slug voucher=line.voucher.pk %}">
|
<a href="{% url "control:event.voucher" event=request.event.slug organizer=request.event.organizer.slug voucher=line.voucher.pk %}">
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ class OrderDetail(OrderView):
|
|||||||
).select_related(
|
).select_related(
|
||||||
'item', 'variation'
|
'item', 'variation'
|
||||||
).prefetch_related(
|
).prefetch_related(
|
||||||
'item__questions', 'answers', 'answers__question'
|
'item__questions', 'answers', 'answers__question', 'checkins'
|
||||||
).order_by('positionid')
|
).order_by('positionid')
|
||||||
|
|
||||||
positions = []
|
positions = []
|
||||||
|
|||||||
Reference in New Issue
Block a user