2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add sub_part_assembly filter to BOM table

This commit is contained in:
Oliver
2021-07-09 13:04:48 +10:00
parent c45e2d682e
commit 079e331bf6
3 changed files with 49 additions and 67 deletions

View File

@ -242,7 +242,7 @@ function loadBomTable(table, options) {
return renderLink(text, url);
}
});
cols.push(
{
field: 'purchase_price_range',

View File

@ -42,6 +42,10 @@ function getAvailableTableFilters(tableKey) {
type: 'bool',
title: '{% trans "Trackable Part" %}'
},
sub_part_assembly: {
type: 'bool',
title: '{% trans "Assembled Part" %}',
},
validated: {
type: 'bool',
title: '{% trans "Validated" %}',