Show device name on order print log

This commit is contained in:
robbi5
2026-05-20 09:33:23 +02:00
committed by GitHub
parent 412a5adf8f
commit 2f792c52a3

View File

@@ -553,7 +553,7 @@
<span class="fa fa-print"></span> <span class="fa fa-print"></span>
{{ pl.datetime|date:"SHORT_DATETIME_FORMAT" }} {{ pl.datetime|date:"SHORT_DATETIME_FORMAT" }}
{{ pl.get_type_display }} {{ pl.get_type_display }}
({{ pl.source }}{% if pl.device %}, #{{ pl.device.device_id }}{% endif %}) ({{ pl.source }}{% if pl.device %}, {{ pl.device.name }} - #{{ pl.device.device_id }}{% endif %})
{% if not pl.successful %}<span class="fa fa-warning fa-fw"></span>{% endif %} {% if not pl.successful %}<span class="fa fa-warning fa-fw"></span>{% endif %}
<br> <br>
{% endfor %} {% endfor %}