mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Display "depleted" label next to depleted stock
This commit is contained in:
		| @@ -468,6 +468,10 @@ function loadStockTable(table, options) { | ||||
|                         html += `<span class='fas fa-question-circle label-right' title='{% trans "StockItem is lost" %}'></span>`; | ||||
|                     } | ||||
|  | ||||
|                     if (row.quantity <= 0) { | ||||
|                         html += `<span class='label label-right label-danger'>{% trans "Depleted" %}</span>`; | ||||
|                     } | ||||
|  | ||||
|                     return html; | ||||
|                 } | ||||
|             }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user