mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Show current quantity in stocktake form
This commit is contained in:
		@@ -43,6 +43,7 @@ function updateStock(items, options={}) {
 | 
			
		||||
    html += '<th>Item</th>';
 | 
			
		||||
    html += '<th>Location</th>';
 | 
			
		||||
    html += '<th>Quantity</th>';
 | 
			
		||||
    html += '<th>' + options.action + '</th>';
 | 
			
		||||
 | 
			
		||||
    html += '</thead><tbody>';
 | 
			
		||||
 | 
			
		||||
@@ -71,6 +72,9 @@ function updateStock(items, options={}) {
 | 
			
		||||
        } else {
 | 
			
		||||
            html += '<td><i>No location set</i></td>';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        html += '<td>' + item.quantity + '</td>';
 | 
			
		||||
 | 
			
		||||
        html += "<td><input class='form-control' ";
 | 
			
		||||
        html += "value='" + vCur + "' ";
 | 
			
		||||
        html += "min='" + vMin + "' ";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user