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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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'
]}
/>
)
}
];
}, []);