// third-party
import { FormattedMessage } from 'react-intl';
import { AiOutlineBarChart } from 'react-icons/ai';
import { AiOutlineDashboard } from 'react-icons/ai';
import { TbListDetails } from 'react-icons/tb';
import AssignmentOutlinedIcon from '@mui/icons-material/AssignmentOutlined';

// assets
import {
  BorderOutlined,
  BoxPlotOutlined,
  ChromeOutlined,
  DeploymentUnitOutlined,
  GatewayOutlined,
  MenuUnfoldOutlined,
  QuestionOutlined,
  SmileOutlined,
  StopOutlined,
  DashboardOutlined,
  ClockCircleOutlined,
  UserOutlined,
  SettingOutlined,
  ProductOutlined
} from '@ant-design/icons';
import { PeopleAltOutlined } from '@mui/icons-material';
import DiscountRoundedIcon from '@mui/icons-material/DiscountRounded';
import { TbUsersGroup } from 'react-icons/tb';
import MopedOutlinedIcon from '@mui/icons-material/MopedOutlined';
import Inventory2OutlinedIcon from '@mui/icons-material/Inventory2Outlined';
import DiscountOutlinedIcon from '@mui/icons-material/DiscountOutlined';

// 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: AiOutlineDashboard
    },

    {
      id: 'deliveries',
      title: <FormattedMessage id="Deliveries" />,
      // title:'Dashboard',
      type: 'item',
      url: '/deliveries',
      icon: MopedOutlinedIcon
    },
    {
      id: 'products',
      title: <FormattedMessage id="Products" />,
      type: 'item',
      url: '/products',
      icon: ProductOutlined
    },

    {
      id: 'reports',
      title: <FormattedMessage id="Reports" />,
      type: 'collapse',
      icon: AiOutlineBarChart,
      children: [
        {
          id: 'stocksstatement',
          title: <FormattedMessage id=" Statements" />,
          type: 'item',
          url: 'stocks/statement',
          icon: AssignmentOutlinedIcon
        },
        // {
        //   id: 'stocksledger',
        //   title: <FormattedMessage id=" Ledger" />,
        //   type: 'item',
        //   url: 'stocks/ledger',
        //   icon: AssignmentOutlinedIcon
        // },
        {
          id: 'ordersdetails',
          title: <FormattedMessage id="Orders Details" />,
          type: 'item',
          url: 'reports/ordersdetails',
          icon: TbListDetails
        }
      ]
    },
    {
      id: 'customers',
      title: <FormattedMessage id="Customers" />,
      type: 'item',
      url: '/customers',
      // icon: icons.UserOutlined
      icon: TbUsersGroup
    }
    // {
    //   id: 'invoice',
    //   title: <FormattedMessage id="Invoice" />,
    //   type: 'item',
    //   url: '/invoice',
    //   icon: LiaFileInvoiceSolid
    // }

    // {
    //   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;
