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:
parent
22e30903b6
commit
87f25eacc5
@ -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 %} × {{ item.part.full_name }}
|
<a href='{% url "part-detail" item.part.pk %}'>{{ item.part.full_name }}</a> × {% decimal item.quantity %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user