mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
More demo data
This commit is contained in:
parent
292536d8ef
commit
b54a77baad
@ -2,11 +2,15 @@ import { Trans } from '@lingui/macro';
|
||||
import { Alert, Group, Stack } from '@mantine/core';
|
||||
import { Button } from '@mantine/core';
|
||||
import {
|
||||
IconAlertCircle,
|
||||
IconBuilding,
|
||||
IconGlobe,
|
||||
IconKey,
|
||||
IconLink,
|
||||
IconMail,
|
||||
IconUser
|
||||
IconSitemap,
|
||||
IconUser,
|
||||
IconVersions
|
||||
} from '@tabler/icons-react';
|
||||
import { useState } from 'react';
|
||||
|
||||
@ -25,18 +29,36 @@ export default function Home() {
|
||||
const [salesOrderFormOpened, setSalesOrderFormOpened] = useState(false);
|
||||
|
||||
const partFields: ApiFormFieldType[] = [
|
||||
{
|
||||
name: 'category'
|
||||
},
|
||||
{
|
||||
name: 'name'
|
||||
},
|
||||
{
|
||||
name: 'IPN'
|
||||
},
|
||||
{
|
||||
name: 'revision',
|
||||
icon: <IconVersions />
|
||||
},
|
||||
{
|
||||
name: 'description'
|
||||
},
|
||||
{
|
||||
name: 'variant_of',
|
||||
icon: <IconSitemap />
|
||||
},
|
||||
{
|
||||
name: 'keywords',
|
||||
icon: <IconKey />
|
||||
},
|
||||
{
|
||||
name: 'category'
|
||||
name: 'units'
|
||||
},
|
||||
{
|
||||
name: 'link',
|
||||
icon: <IconLink />
|
||||
},
|
||||
{
|
||||
name: 'assembly'
|
||||
@ -48,7 +70,8 @@ export default function Home() {
|
||||
name: 'virtual'
|
||||
},
|
||||
{
|
||||
name: 'minimum_stock'
|
||||
name: 'minimum_stock',
|
||||
icon: <IconAlertCircle />
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user