mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display 'take_from' location on build detail page
This commit is contained in:
parent
3588161632
commit
bbf46c4580
@ -45,6 +45,16 @@ InvenTree | Build - {{ build }}
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Quantity</td><td>{{ build.quantity }}</td>
|
<td>Quantity</td><td>{{ build.quantity }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Stock Source</td>
|
||||||
|
<td>
|
||||||
|
{% if build.take_from %}
|
||||||
|
<a href="{% url 'stock-location-detail' build.take_from.id %}">{{ build.take_from }}</a>
|
||||||
|
{% else %}
|
||||||
|
Stock can be taken from any available location.
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Status</td><td>{% include "build_status.html" with build=build %}</td>
|
<td>Status</td><td>{% include "build_status.html" with build=build %}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user