mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Float "depleted" badge to the right
This commit is contained in:
parent
f92600501a
commit
c060bc0815
@ -1458,7 +1458,7 @@ function loadStockTable(table, options) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (row.quantity <= 0) {
|
if (row.quantity <= 0) {
|
||||||
html += `<span class='badge rounded-pill bg-danger'>{% trans "Depleted" %}</span>`;
|
html += `<span class='badge badge-right rounded-pill bg-danger'>{% trans "Depleted" %}</span>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
|
Loading…
Reference in New Issue
Block a user