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

@ -1,3 +1,5 @@
{% import "helper.twig" as helper %}
<table class="table table-striped table-hover">
<thead>
<tr>
@ -15,7 +17,7 @@
<td>{{ lot.description }}</td>
<td>
{% if lot.storageLocation %}
{{ lot.storageLocation.fullPath }}
{{ helper.structural_entity_link(lot.storageLocation) }}
{% else %}
<span class="badge badge-pill badge-warning">
<i class="fas fa-question-circle fa-fw"></i> {% trans %}part_lots.location_unknown{% endtrans %}