diff --git a/InvenTree/templates/js/translated/build.js b/InvenTree/templates/js/translated/build.js index cdf3b10f4c..b18f19d49e 100644 --- a/InvenTree/templates/js/translated/build.js +++ b/InvenTree/templates/js/translated/build.js @@ -46,6 +46,9 @@ function buildFormFields() { }, title: {}, quantity: {}, + project_code: { + icon: 'fa-list', + }, priority: {}, parent: { filters: { @@ -2665,6 +2668,18 @@ function loadBuildTable(table, options) { title: '{% trans "Description" %}', switchable: true, }, + { + field: 'project_code', + title: '{% trans "Project Code" %}', + sortable: true, + switchable: global_settings.PROJECT_CODES_ENABLED, + visible: global_settings.PROJECT_CODES_ENABLED, + formatter: function(value, row) { + if (row.project_code_detail) { + return `${row.project_code_detail.code}`; + } + } + }, { field: 'priority', title: '{% trans "Priority" %}',