mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display batch code in build output table
This commit is contained in:
parent
8fc34a21a6
commit
a80465e85c
@ -1135,6 +1135,10 @@ function loadBuildOutputTable(build_info, options={}) {
|
||||
text = `{% trans "Quantity" %}: ${row.quantity}`;
|
||||
}
|
||||
|
||||
if (row.batch) {
|
||||
text += ` <small>({% trans "Batch" %}: ${row.batch})</small>`;
|
||||
}
|
||||
|
||||
return renderLink(text, url);
|
||||
},
|
||||
sorter: function(a, b, row_a, row_b) {
|
||||
|
Loading…
Reference in New Issue
Block a user