mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display customer in stock item
This commit is contained in:
parent
fbd21827fb
commit
d907136264
@ -131,6 +131,13 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
|
|||||||
<a href="{% url 'part-stock' item.part.id %}">{{ item.part.full_name }}
|
<a href="{% url 'part-stock' item.part.id %}">{{ item.part.full_name }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{% if item.customer %}
|
||||||
|
<tr>
|
||||||
|
<td><span class='fas fa-user-tie'></span></td>
|
||||||
|
<td>{% trans "Customer" %}</td>
|
||||||
|
<td><a href="{% url 'company-detail' item.customer.id %}">{{ item.customer.name }}</a></td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% if item.belongs_to %}
|
{% if item.belongs_to %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-box'></span></td>
|
<td><span class='fas fa-box'></span></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user