2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

Add link from stock item to base part

This commit is contained in:
Oliver Walters 2020-09-06 00:01:14 +10:00
parent 22e30903b6
commit 87f25eacc5

View File

@ -61,9 +61,9 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
<hr> <hr>
<h4> <h4>
{% if item.serialized %} {% if item.serialized %}
{{ item.part.full_name}} # {{ item.serial }} <a href='{% url "part-detail" item.part.pk %}'>{{ item.part.full_name}}</a> # {{ item.serial }}
{% else %} {% else %}
{% decimal item.quantity %} &times {{ item.part.full_name }} <a href='{% url "part-detail" item.part.pk %}'>{{ item.part.full_name }}</a> &times {% decimal item.quantity %}
{% endif %} {% endif %}
</h4> </h4>