mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-18 12:36:11 +00:00
Add IPN column to BOM pricing panel (#12344)
This commit is contained in:
@@ -19,6 +19,7 @@ import { CHART_COLORS } from '../../../components/charts/colors';
|
|||||||
import { tooltipFormatter } from '../../../components/charts/tooltipFormatter';
|
import { tooltipFormatter } from '../../../components/charts/tooltipFormatter';
|
||||||
import {
|
import {
|
||||||
DateColumn,
|
DateColumn,
|
||||||
|
IPNColumn,
|
||||||
PartColumn
|
PartColumn
|
||||||
} from '../../../components/tables/ColumnRenderers';
|
} from '../../../components/tables/ColumnRenderers';
|
||||||
import { InvenTreeTable } from '../../../components/tables/InvenTreeTable';
|
import { InvenTreeTable } from '../../../components/tables/InvenTreeTable';
|
||||||
@@ -104,6 +105,9 @@ export default function BomPricingPanel({
|
|||||||
title: t`Component`,
|
title: t`Component`,
|
||||||
part: 'sub_part_detail'
|
part: 'sub_part_detail'
|
||||||
}),
|
}),
|
||||||
|
IPNColumn({
|
||||||
|
accessor: 'sub_part_detail.IPN'
|
||||||
|
}),
|
||||||
{
|
{
|
||||||
accessor: 'quantity',
|
accessor: 'quantity',
|
||||||
title: t`Quantity`,
|
title: t`Quantity`,
|
||||||
|
|||||||
Reference in New Issue
Block a user