mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 02:05:16 +02:00
Allow part lots to have an null storage location.
Otherwise we loose informations on migration.
This commit is contained in:
parent
c7e8fc9642
commit
016c2889ba
4 changed files with 16 additions and 8 deletions
|
@ -14,7 +14,13 @@
|
|||
<tr>
|
||||
<td>{{ lot.description }}</td>
|
||||
<td>
|
||||
{{ lot.storageLocation.fullPath }}
|
||||
{% if lot.storageLocation %}
|
||||
{{ lot.storageLocation.fullPath }}
|
||||
{% else %}
|
||||
<span class="badge badge-pill badge-warning">
|
||||
<i class="fas fa-question-circle fa-fw"></i> {% trans %}part_lots.location_unknown{% endtrans %}
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if lot.instockUnknown %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue