mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +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}`;
|
text = `{% trans "Quantity" %}: ${row.quantity}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (row.batch) {
|
||||||
|
text += ` <small>({% trans "Batch" %}: ${row.batch})</small>`;
|
||||||
|
}
|
||||||
|
|
||||||
return renderLink(text, url);
|
return renderLink(text, url);
|
||||||
},
|
},
|
||||||
sorter: function(a, b, row_a, row_b) {
|
sorter: function(a, b, row_a, row_b) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user