mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-28 09:27:26 +00:00
Add order sorting for sales order allocation tables (#12468)
This commit is contained in:
@@ -42,6 +42,8 @@ export default function PartSalesAllocationsTable({
|
||||
accessor: 'order',
|
||||
title: t`Sales Order`,
|
||||
switchable: false,
|
||||
sortable: true,
|
||||
ordering: 'order',
|
||||
render: (record: any) => (
|
||||
<Group wrap='nowrap' gap='xs'>
|
||||
<RowExpansionIcon
|
||||
|
||||
@@ -110,6 +110,7 @@ export default function SalesOrderAllocationTable({
|
||||
return [
|
||||
ReferenceColumn({
|
||||
accessor: 'order_detail.reference',
|
||||
ordering: 'order',
|
||||
title: t`Sales Order`,
|
||||
switchable: false,
|
||||
sortable: true,
|
||||
|
||||
Reference in New Issue
Block a user