// third-party
import { FormattedMessage } from 'react-intl';
// import TwoWheelerOutlinedIcon from '@mui/icons-material/TwoWheelerOutlined';
// import SportsMotorsportsOutlinedIcon from '@mui/icons-material/SportsMotorsportsOutlined';
import DirectionsBikeOutlinedIcon from '@mui/icons-material/DirectionsBikeOutlined';
import ReceiptOutlinedIcon from '@mui/icons-material/ReceiptOutlined';
import MopedOutlinedIcon from '@mui/icons-material/MopedOutlined';
import { TbListDetails } from 'react-icons/tb';

// assets
import {
  BorderOutlined,
  BoxPlotOutlined,
  ChromeOutlined,
  DeploymentUnitOutlined,
  GatewayOutlined,
  MenuUnfoldOutlined,
  QuestionOutlined,
  SmileOutlined,
  StopOutlined,
  DashboardOutlined,
  ClockCircleOutlined,
  UserOutlined,
  SettingOutlined,
  TeamOutlined,
  MailOutlined,
  ImportOutlined,
  BarChartOutlined,
  MoneyCollectOutlined
} from '@ant-design/icons';

// icons
const icons = {
  ChromeOutlined,
  MenuUnfoldOutlined,
  BoxPlotOutlined,
  StopOutlined,
  BorderOutlined,
  SmileOutlined,
  GatewayOutlined,
  QuestionOutlined,
  DeploymentUnitOutlined,
  DashboardOutlined,
  ClockCircleOutlined,
  UserOutlined,
  SettingOutlined,
  TeamOutlined,
  MailOutlined,
  ImportOutlined,
  BarChartOutlined,
  ReceiptOutlinedIcon
};

// ==============================|| MENU ITEMS - SUPPORT ||============================== //

const other = {
  id: 'other',
  title: <FormattedMessage id="MENU" />,
  type: 'group',
  children: [
    {
      id: 'orders',
      title: <FormattedMessage id="Orders" />,
      type: 'item',
      url: '/orders',
      icon: icons.DashboardOutlined
    },

    {
      // id: 'deliveries',
      id: 'dashboard',
      title: <FormattedMessage id="Deliveries" />,
      type: 'item',
      url: '/deliveries',
      icon: MopedOutlinedIcon
    },
    {
      id: 'tenants',
      title: <FormattedMessage id="Tenants" />,
      type: 'item',
      url: '/tenants',
      icon: icons.UserOutlined
    },
    {
      id: 'pricing',
      title: <FormattedMessage id="Pricing" />,
      type: 'item',
      url: '/clients_pricing',
      icon: MoneyCollectOutlined
    },
    {
      id: 'customers',
      title: <FormattedMessage id="Customers" />,
      type: 'item',
      url: '/customers',
      icon: icons.TeamOutlined
    },
    {
      id: 'riders',
      title: <FormattedMessage id="Riders" />,
      type: 'item',
      url: '/riders',
      icon: DirectionsBikeOutlinedIcon
    },
    {
      id: 'reports',
      title: <FormattedMessage id="Reports" />,
      type: 'collapse',
      icon: icons.BarChartOutlined,
      children: [
        {
          id: 'orderssummary',
          title: <FormattedMessage id="Orders Summary" />,
          type: 'item',
          url: '/reports/orderssummary',
          icon: TbListDetails
        },
        {
          id: 'ordersdetails',
          title: <FormattedMessage id="Orders Details" />,
          type: 'item',
          url: '/reports/ordersdetails',
          icon: icons.DashboardOutlined
          // target: true
        },
        {
          id: 'riderssummary',
          title: <FormattedMessage id="Riders Summary" />,
          type: 'item',
          url: '/reports/riderssummary',
          icon: DirectionsBikeOutlinedIcon
          // target: true
        },
        {
          id: 'riderslogs',
          title: <FormattedMessage id="Riders Logs" />,
          type: 'item',
          url: '/reports/riderslogs',
          icon: DirectionsBikeOutlinedIcon
          // target: true
        }
      ]
    },
    {
      id: 'invoice',
      title: <FormattedMessage id="Invoice" />,
      type: 'item',
      url: '/invoice',
      icon: icons.ReceiptOutlinedIcon
    }

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