mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Improve grouping
This commit is contained in:
		| @@ -88,12 +88,12 @@ function loadStockTable(table, options) { | ||||
|                 data.forEach(function(item) { | ||||
|                     var batch = item.batch; | ||||
|  | ||||
|                     if (!batch) { | ||||
|                     if (!batch || batch == '') { | ||||
|                         batch = '-'; | ||||
|                     } | ||||
|  | ||||
|                     if (!batches.includes(item.batch)) { | ||||
|                         batches.push(item.batch);  | ||||
|                     if (!batches.includes(batch)) { | ||||
|                         batches.push(batch);  | ||||
|                     } | ||||
|                 }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user