eticketListView: product id instead of eticket id

This commit is contained in:
Robin Trioux 2019-11-03 20:35:47 +01:00
parent f42daa01c5
commit 59511d255f

View File

@ -10,7 +10,7 @@
<h3>{% trans %}Eticket list{% endtrans %}</h3> <h3>{% trans %}Eticket list{% endtrans %}</h3>
<ul> <ul>
{% for t in eticket_list %} {% for t in eticket_list %}
<li><a href="{{ url('counter:edit_eticket', eticket_id=t.id) }}">{{ t }}</a> (ID: {{ t.id }} | Hash: <code>{{ t.secret }}</code>)</li> <li><a href="{{ url('counter:edit_eticket', eticket_id=t.id) }}">{{ t }}</a> (ID: {{ t.product.id }} | Hash: <code>{{ t.secret }}</code>)</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% else %} {% else %}