mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Show current quantity in stocktake form
This commit is contained in:
parent
117fd701cd
commit
5ebc7b040a
@ -43,6 +43,7 @@ function updateStock(items, options={}) {
|
|||||||
html += '<th>Item</th>';
|
html += '<th>Item</th>';
|
||||||
html += '<th>Location</th>';
|
html += '<th>Location</th>';
|
||||||
html += '<th>Quantity</th>';
|
html += '<th>Quantity</th>';
|
||||||
|
html += '<th>' + options.action + '</th>';
|
||||||
|
|
||||||
html += '</thead><tbody>';
|
html += '</thead><tbody>';
|
||||||
|
|
||||||
@ -71,6 +72,9 @@ function updateStock(items, options={}) {
|
|||||||
} else {
|
} else {
|
||||||
html += '<td><i>No location set</i></td>';
|
html += '<td><i>No location set</i></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html += '<td>' + item.quantity + '</td>';
|
||||||
|
|
||||||
html += "<td><input class='form-control' ";
|
html += "<td><input class='form-control' ";
|
||||||
html += "value='" + vCur + "' ";
|
html += "value='" + vCur + "' ";
|
||||||
html += "min='" + vMin + "' ";
|
html += "min='" + vMin + "' ";
|
||||||
|
Loading…
Reference in New Issue
Block a user