2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

Add settings for return orders (#6231)

This commit is contained in:
Oliver
2024-01-14 07:52:13 +11:00
committed by GitHub
parent 544c7d389c
commit 4254b7dda3

View File

@ -14,7 +14,8 @@ import {
IconSitemap,
IconTag,
IconTools,
IconTruckDelivery
IconTruckDelivery,
IconTruckReturn
} from '@tabler/icons-react';
import { useMemo } from 'react';
@ -255,6 +256,20 @@ export default function SystemSettings() {
]}
/>
)
},
{
name: 'returnorders',
label: t`Return Orders`,
icon: <IconTruckReturn />,
content: (
<GlobalSettingList
keys={[
'RETURNORDER_ENABLED',
'RETURNORDER_REFERENCE_PATTERN',
'RETURNORDER_EDIT_COMPLETED_ORDERS'
]}
/>
)
}
];
}, []);