2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Display build output status code (#3771)

* Display build output status code

* JS linting
This commit is contained in:
Oliver 2022-10-12 09:23:41 +11:00 committed by GitHub
parent 86b72549a2
commit 1c6eb8096f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1231,6 +1231,8 @@ function loadBuildOutputTable(build_info, options={}) {
text += ` <small>({% trans "Batch" %}: ${row.batch})</small>`; text += ` <small>({% trans "Batch" %}: ${row.batch})</small>`;
} }
text += stockStatusDisplay(row.status, {classes: 'float-right'});
return renderLink(text, url); return renderLink(text, url);
}, },
sorter: function(a, b, row_a, row_b) { sorter: function(a, b, row_a, row_b) {