Allow to show parts in a storelocation or an supplier.

This commit is contained in:
Jan Böhmer 2019-09-08 17:30:58 +02:00
parent 748905c325
commit 31e89e2e36
8 changed files with 107 additions and 6 deletions

View file

@ -11,7 +11,9 @@
<tbody>
{% for order in part.orderdetails %}
<tr class="{% if order.obsolete %}table-danger{% endif %}">
<td>{{ order.supplier.name }}</td>
<td>
<a href="{{ order.supplier | entityURL('list_parts') }}">{{ order.supplier.name }}</a>
</td>
<td>{% if order.supplierProductUrl is not empty %}
<a href="{{ order.supplierProductUrl }}" target="_blank" class="link-external">{{ order.supplierPartNr }}</a>
{% else %}