Fix print labels devices
This commit is contained in:
parent
60de8fde63
commit
42760e5b9e
|
@ -111,6 +111,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
} else {
|
||||
btnSelectAll.disabled = false;
|
||||
}
|
||||
|
||||
get_device_list();
|
||||
}
|
||||
|
||||
TableController.getAllDevices().forEach(item => {
|
||||
|
|
|
@ -392,7 +392,7 @@
|
|||
{% for doc in lot.trade.documents %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if doc.url.to_text() %}
|
||||
{% if doc.url %}
|
||||
<a href="{{ doc.url.to_text() }}" target="_blank">{{ doc.file_name}}</a>
|
||||
{% else %}
|
||||
{{ doc.file_name}}
|
||||
|
|
Reference in New Issue