2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Pass row quantity back to the server

This commit is contained in:
Oliver Walters
2019-07-09 19:45:36 +10:00
parent e9eb814990
commit 782d740323
2 changed files with 51 additions and 3 deletions

View File

@@ -63,7 +63,10 @@
</select>
<i>{{ item.cell }}</i>
{% elif item.column.guess == 'Quantity' %}
<input class='numberinput' type='number' min='1' value='{{ row.quantity }}'/>
<input name='quantity_{{ row.index }}' class='numberinput' type='number' min='1' value='{{ row.quantity }}'/>
{% if row.errors.quantity %}
<p class='help-block'>{{ row.errors.quantity }}</p>
{% endif %}
{% elif item.column.guess == 'Reference' %}
<input name='reference_{{ row.index }}' value='{{ row.reference }}'/>
{% elif item.column.guess == 'Notes' %}