Fix part list not using total_quantity
This commit is contained in:
parent
463e00f3fe
commit
00310e0235
@ -17,8 +17,12 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>{{ item.fields.color_name }}</td>
|
<td>{{ item.fields.color_name }}</td>
|
||||||
{% if not no_quantity %}
|
{% if not no_quantity %}
|
||||||
|
{% if all %}
|
||||||
|
<td>{{ item.fields.total_quantity }}</td>
|
||||||
|
{% else %}
|
||||||
<td>{% if quantity %}{{ item.fields.quantity * quantity }}{% else %}{{ item.fields.quantity }}{% endif %}</td>
|
<td>{% if quantity %}{{ item.fields.quantity * quantity }}{% else %}{{ item.fields.quantity }}{% endif %}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% if not no_missing %}
|
{% 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">
|
<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">
|
||||||
{% if all or read_only_missing %}
|
{% if all or read_only_missing %}
|
||||||
|
Loading…
Reference in New Issue
Block a user