mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
[PUI] Add more columns (#7618)
* [PUI] Add more columns - Add "IPN" column to stock table - Add "revision" column to stock table * Add IPN column to BOM table
This commit is contained in:
parent
2e4ab45635
commit
81ab7aa625
@ -101,6 +101,11 @@ export function BomTable({
|
||||
);
|
||||
}
|
||||
},
|
||||
{
|
||||
accessor: 'sub_part_detail.IPN',
|
||||
title: t`IPN`,
|
||||
sortable: true
|
||||
},
|
||||
DescriptionColumn({
|
||||
accessor: 'sub_part_detail.description'
|
||||
}),
|
||||
|
@ -47,6 +47,16 @@ function stockItemTableColumns(): TableColumn[] {
|
||||
sortable: true,
|
||||
render: (record: any) => PartColumn(record?.part_detail)
|
||||
},
|
||||
{
|
||||
accessor: 'part_detail.IPN',
|
||||
title: t`IPN`,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
accessor: 'part_detail.revision',
|
||||
title: t`Revision`,
|
||||
sortable: true
|
||||
},
|
||||
DescriptionColumn({
|
||||
accessor: 'part_detail.description'
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user