Display StockItem UID if one exists

This commit is contained in:
Oliver Walters 2020-04-14 23:28:46 +10:00
parent bad56f64e3
commit e56c018a4a

View File

@ -85,7 +85,7 @@
</tr>
{% if item.belongs_to %}
<tr>
<td></td>
<td><span class='fas fa-box'></span></td>
<td>{% trans "Belongs To" %}</td>
<td><a href="{% url 'stock-item-detail' item.belongs_to.id %}">{{ item.belongs_to }}</a></td>
</tr>
@ -96,6 +96,13 @@
<td><a href="{% url 'stock-location-detail' item.location.id %}">{{ item.location.name }}</a></td>
</tr>
{% endif %}
{% if item.uid %}
<tr>
<td><span class='fas fa-fingerprint'></span></td>
<td>{% trans "Unique Identifier" %}</td>
<td>{{ item.uid }}</td>
</tr>
{% endif %}
{% if item.serialized %}
<tr>
<td></td>