Merge pull request #2466 from SchrodingersGat/depleted-badge

Float "depleted" badge to the right
This commit is contained in:
Oliver 2021-12-20 14:25:03 +11:00 committed by GitHub
commit 189f836e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1458,7 +1458,7 @@ function loadStockTable(table, options) {
}
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;