mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Merge pull request #966 from SchrodingersGat/stock-item-link
Add link from stock item to base part
This commit is contained in:
commit
f0713ce01d
@ -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