mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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…
x
Reference in New Issue
Block a user