// third-party
import { FormattedMessage } from "react-intl";
import DirectionsBikeOutlinedIcon from "@mui/icons-material/DirectionsBikeOutlined";
import ReceiptOutlinedIcon from "@mui/icons-material/ReceiptOutlined";
import MopedOutlinedIcon from "@mui/icons-material/MopedOutlined";
import { AiOutlineDashboard } from "react-icons/ai";
import { AiOutlineImport } from "react-icons/ai";
import { TbListDetails } from "react-icons/tb";

// assets
import {
  BorderOutlined,
  BoxPlotOutlined,
  ChromeOutlined,
  DeploymentUnitOutlined,
  GatewayOutlined,
  MenuUnfoldOutlined,
  QuestionOutlined,
  SmileOutlined,
  StopOutlined,
  HomeOutlined,
  UsergroupAddOutlined,
  FileTextOutlined,
  ShoppingCartOutlined,
  UserOutlined,
  CloudDownloadOutlined,
  BarChartOutlined,
  UnorderedListOutlined,
  MoneyCollectOutlined,
  ProductOutlined,
} from "@ant-design/icons";

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

const other = {
  id: "other",
  title: <FormattedMessage id="Menu" />,
  type: "group",
  children: [
    // {
    //   id: "sample-page",
    //   title: <FormattedMessage id="sample-page" />,
    //   type: "item",
    //   url: "/sample-page",
    //   icon: icons.ChromeOutlined,
    // },
    {
      id: "orders",
      title: <FormattedMessage id="orders" />,
      type: "item",
      url: "/orders",
      icon: AiOutlineDashboard,
    },
    {
      id: "deliveries",
      title: <FormattedMessage id="deliveries" />,
      type: "item",
      url: "/deliveries",
      icon: MopedOutlinedIcon,
    },
    {
      id: "products",
      title: <FormattedMessage id="Products" />,
      type: "item",
      url: "/products",
      icon: ProductOutlined,
    },
    {
      id: "clients",
      title: <FormattedMessage id="Clients" />,
      type: "item",
      url: "/clients",
      icon: UserOutlined,
    },
    {
      id: "clientspricing",
      title: <FormattedMessage id="Pricing" />,
      type: "item",
      url: "/clients_pricing",
      icon: MoneyCollectOutlined,
    },
    {
      id: "customers",
      title: <FormattedMessage id="customers" />,
      type: "item",
      url: "/customers",
      icon: UsergroupAddOutlined,
    },
    {
      id: "riders",
      title: <FormattedMessage id="riders" />,
      type: "item",
      url: "/riders",
      icon: DirectionsBikeOutlinedIcon,
    },

    {
      id: "reports",
      title: <FormattedMessage id="Reports" />,
      type: "collapse",
      icon: 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: AiOutlineDashboard,
        },
        {
          id: "riderssummary",
          title: <FormattedMessage id="Riders Summary " />,
          type: "item",
          url: "reports/riderssummary",
          icon: DirectionsBikeOutlinedIcon,
        },
        {
          id: "riderslogs",
          title: <FormattedMessage id="Riders Logs" />,
          type: "item",
          url: "/reports/riderslogs",
          icon: DirectionsBikeOutlinedIcon,
        },
      ],
    },
    {
      id: "invoice",
      title: <FormattedMessage id="Invoice" />,
      type: "item",
      url: "/invoice",
      icon: ReceiptOutlinedIcon,
    },
    // {
    //   id: "requests",
    //   title: <FormattedMessage id="requests" />,
    //   type: "item",
    //   url: "/requests",
    //   icon: AiOutlineImport,
    // },

    // {
    //   id: "tenants",
    //   title: <FormattedMessage id="Tenants" />,
    //   type: "item",
    //   url: "/tenants",
    //   icon: UserOutlined,
    // },
    // {
    //   id: "cloudstore",
    //   title: <FormattedMessage id="cloudstore" />,
    //   type: "item",
    //   url: "/cloudstore",
    //   icon: CloudDownloadOutlined,
    // },

    // {
    //   id: "dashboard",
    //   title: <FormattedMessage id="dashboard" />,
    //   type: "item",
    //   url: "/dashboard",
    //   icon: HomeOutlined,
    // },
    // {
    //   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;
