mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display "depleted" label next to depleted stock
This commit is contained in:
parent
96a3f2920d
commit
bc3fda71a4
@ -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;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user