117 lines
2.6 KiB
JavaScript
117 lines
2.6 KiB
JavaScript
// third-party
|
|
import { FormattedMessage } from 'react-intl';
|
|
import { AiOutlineBarChart } from 'react-icons/ai';
|
|
|
|
// assets
|
|
import {
|
|
BorderOutlined,
|
|
BoxPlotOutlined,
|
|
ChromeOutlined,
|
|
DeploymentUnitOutlined,
|
|
GatewayOutlined,
|
|
MenuUnfoldOutlined,
|
|
QuestionOutlined,
|
|
SmileOutlined,
|
|
StopOutlined,
|
|
DashboardOutlined,
|
|
ClockCircleOutlined,
|
|
UserOutlined,
|
|
SettingOutlined
|
|
} from '@ant-design/icons';
|
|
|
|
// icons
|
|
const icons = {
|
|
ChromeOutlined,
|
|
MenuUnfoldOutlined,
|
|
BoxPlotOutlined,
|
|
StopOutlined,
|
|
BorderOutlined,
|
|
SmileOutlined,
|
|
GatewayOutlined,
|
|
QuestionOutlined,
|
|
DeploymentUnitOutlined,
|
|
DashboardOutlined,
|
|
ClockCircleOutlined,
|
|
UserOutlined,
|
|
SettingOutlined
|
|
};
|
|
|
|
// ==============================|| MENU ITEMS - SUPPORT ||============================== //
|
|
|
|
const other = {
|
|
id: 'other',
|
|
title: <FormattedMessage id="MENU" />,
|
|
type: 'group',
|
|
children: [
|
|
// {
|
|
// id: 'dashboard',
|
|
// title: <FormattedMessage id="Dashboard" />,
|
|
// type: 'item',
|
|
// url: '/dashboard',
|
|
// icon: icons.DashboardOutlined
|
|
// },
|
|
{
|
|
id: 'orders',
|
|
title: <FormattedMessage id="Orders" />,
|
|
type: 'item',
|
|
url: '/orders',
|
|
icon: icons.ClockCircleOutlined
|
|
},
|
|
{
|
|
id: 'Customers',
|
|
title: <FormattedMessage id="Customers" />,
|
|
type: 'item',
|
|
url: '/customers',
|
|
icon: icons.UserOutlined
|
|
},
|
|
{
|
|
id: 'Reports',
|
|
title: <FormattedMessage id="Reports" />,
|
|
type: 'collapse',
|
|
icon: AiOutlineBarChart,
|
|
children: [
|
|
{
|
|
id: 'OrdersDetails',
|
|
title: <FormattedMessage id="OrdersDetails" />,
|
|
type: 'item',
|
|
url: 'reports/ordersdetails',
|
|
icon: icons.UserOutlined
|
|
}
|
|
]
|
|
}
|
|
|
|
// {
|
|
// id: 'account',
|
|
// title: <FormattedMessage id="Settings" />,
|
|
// type: 'item',
|
|
// url: '/accountsettings',
|
|
// icon: icons.SettingOutlined
|
|
// },
|
|
// {
|
|
// id: 'documentation',
|
|
// title: <FormattedMessage id="documentation" />,
|
|
// type: 'item',
|
|
// url: 'https://links.codedthemes.com/BQFrl',
|
|
// icon: icons.QuestionOutlined,
|
|
// external: true,
|
|
// target: true,
|
|
// chip: {
|
|
// label: 'gitbook',
|
|
// color: 'secondary',
|
|
// size: 'small'
|
|
// }
|
|
// },
|
|
// {
|
|
// id: 'roadmap',
|
|
// title: <FormattedMessage id="roadmap" />,
|
|
// type: 'item',
|
|
// url: 'https://links.codedthemes.com/RXnKQ',
|
|
// icon: icons.DeploymentUnitOutlined,
|
|
// external: true,
|
|
// target: true
|
|
// }
|
|
]
|
|
};
|
|
|
|
export default other;
|