2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-14 03:46:44 +00:00

Column min width (#10204)

* Support minimum column width

* Adjust DescriptionColumn and StatusColumn

* Column refactoring

* Refactor PartColumn

* Refactor LineItemsProgerssColumn

* Tweaks
This commit is contained in:
Oliver
2025-08-20 21:49:27 +10:00
committed by GitHub
parent 76dfd62f84
commit ed31503d3b
30 changed files with 170 additions and 181 deletions

View File

@@ -97,14 +97,10 @@ export default function BuildAllocatedStockTable({
title: t`Order Status`,
hidden: showBuildInfo != true
}),
{
accessor: 'part',
PartColumn({
hidden: !showPartInfo,
title: t`Part`,
sortable: true,
switchable: false,
render: (record: any) => PartColumn({ part: record.part_detail })
},
switchable: false
}),
{
accessor: 'part_detail.IPN',
ordering: 'IPN',
@@ -136,11 +132,11 @@ export default function BuildAllocatedStockTable({
},
DecimalColumn({
accessor: 'available',
title: t`Available Quantity`
title: t`Available`
}),
DecimalColumn({
accessor: 'quantity',
title: t`Allocated Quantity`,
title: t`Allocated`,
sortable: true,
switchable: false
}),