mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
added pricing section (#5857)
This commit is contained in:
parent
0d99e97e1d
commit
7396b028d7
@ -21,6 +21,7 @@ import {
|
||||
} from '@tabler/icons-react';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
import { PlaceholderPill } from '../../../components/items/Placeholder';
|
||||
import { PanelGroup, PanelType } from '../../../components/nav/PanelGroup';
|
||||
import { SettingsHeader } from '../../../components/nav/SettingsHeader';
|
||||
import { GlobalSettingList } from '../../../components/settings/SettingList';
|
||||
@ -123,7 +124,37 @@ export default function SystemSettings() {
|
||||
{
|
||||
name: 'pricing',
|
||||
label: t`Pricing`,
|
||||
icon: <IconCurrencyDollar />
|
||||
icon: <IconCurrencyDollar />,
|
||||
content: (
|
||||
<>
|
||||
<GlobalSettingList
|
||||
keys={[
|
||||
'INVENTREE_DEFAULT_CURRENCY',
|
||||
'PART_INTERNAL_PRICE',
|
||||
'PART_BOM_USE_INTERNAL_PRICE',
|
||||
'PRICING_DECIMAL_PLACES_MIN',
|
||||
'PRICING_DECIMAL_PLACES',
|
||||
'PRICING_UPDATE_DAYS'
|
||||
]}
|
||||
/>
|
||||
<br />
|
||||
<GlobalSettingList
|
||||
keys={[
|
||||
'PRICING_USE_SUPPLIER_PRICING',
|
||||
'PRICING_PURCHASE_HISTORY_OVERRIDES_SUPPLIER',
|
||||
'PRICING_USE_STOCK_PRICING',
|
||||
'PRICING_STOCK_ITEM_AGE_DAYS',
|
||||
'PRICING_USE_VARIANT_PRICING',
|
||||
'PRICING_ACTIVE_VARIANTS'
|
||||
]}
|
||||
/>
|
||||
<br />
|
||||
<GlobalSettingList
|
||||
keys={['CURRENCY_UPDATE_PLUGIN', 'CURRENCY_UPDATE_INTERVAL']}
|
||||
/>
|
||||
<PlaceholderPill />
|
||||
</>
|
||||
)
|
||||
},
|
||||
{
|
||||
name: 'labels',
|
||||
|
Loading…
Reference in New Issue
Block a user