add print_labels instead of call submit from the template
This commit is contained in:
parent
022d40edbe
commit
c8aefc6029
|
@ -237,7 +237,7 @@
|
||||||
{% for f in form_print_labels %}
|
{% for f in form_print_labels %}
|
||||||
{{ f }}
|
{{ f }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<a href="javascript:$('#print_labels').submit()" class="dropdown-item">
|
<a href="javascript:print_labels()" class="dropdown-item">
|
||||||
<i class="bi bi-printer"></i>
|
<i class="bi bi-printer"></i>
|
||||||
Print labels
|
Print labels
|
||||||
</a>
|
</a>
|
||||||
|
|
Reference in New Issue