Fix part list not using total_quantity

This commit is contained in:
Gregoo 2025-01-17 15:35:23 +01:00
parent 463e00f3fe
commit 00310e0235

View File

@ -17,7 +17,11 @@
</td>
<td>{{ item.fields.color_name }}</td>
{% if not no_quantity %}
<td>{% if quantity %}{{ item.fields.quantity * quantity }}{% else %}{{ item.fields.quantity }}{% endif %}</td>
{% if all %}
<td>{{ item.fields.total_quantity }}</td>
{% else %}
<td>{% if quantity %}{{ item.fields.quantity * quantity }}{% else %}{{ item.fields.quantity }}{% endif %}</td>
{% endif %}
{% endif %}
{% if not no_missing %}
<td {% if not all %}id="sort-item-{{ item.fields.u_id }}-{{ item.fields.id }}" data-sort="{{ item.fields.total_missing }}"{% endif %} class="table-td-missing">