hide order and product management

This commit is contained in:
Sibunnayak 2024-07-12 15:58:01 +05:30
parent 67928e0cb7
commit a97fad459a

View File

@ -46,36 +46,36 @@ const _nav = [
group: "Customers", group: "Customers",
}, },
{ // {
component: CNavGroup, // component: CNavGroup,
name: "Product Management", // name: "Product Management",
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />, // icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
group: "", // group: "",
items: [ // items: [
{ // {
component: CNavItem, // component: CNavItem,
name: "Categories", // name: "Categories",
icon: <CIcon icon={cilCat} customClassName="nav-icon" />, // icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
to: "/categories", // to: "/categories",
group: "Product Management", // group: "Product Management",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "Products", // name: "Products",
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />, // icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
to: "/products", // to: "/products",
group: "Product Management", // group: "Product Management",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "GST", // name: "GST",
icon: <CIcon icon={cilTablet} customClassName="nav-icon" />, // icon: <CIcon icon={cilTablet} customClassName="nav-icon" />,
to: "/tax", // to: "/tax",
group: "Product Management", // group: "Product Management",
}, // },
], // ],
}, // },
{ {
component: CNavItem, component: CNavItem,
name: "SalesCoOrdinator", name: "SalesCoOrdinator",
@ -83,70 +83,70 @@ const _nav = [
to: "/salescoordinators", to: "/salescoordinators",
group: "SalesCoOrdinator", group: "SalesCoOrdinator",
}, },
{ // {
component: CNavGroup, // component: CNavGroup,
name: "Orders", // name: "Orders",
icon: <CIcon icon={cilCart} customClassName="nav-icon" />, // icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
group: "", // group: "",
items: [ // items: [
{ // {
component: CNavItem, // component: CNavItem,
name: "New", // name: "New",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/new", // to: "/orders/new",
group: "Orders", // group: "Orders",
}, // },
// { // // {
// component: CNavItem, // // component: CNavItem,
// name: "Paid", // // name: "Paid",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/returned", // // to: "/orders/returned",
// }, // // },
{ // {
component: CNavItem, // component: CNavItem,
name: "Processing", // name: "Processing",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/processing", // to: "/orders/processing",
group: "Orders", // group: "Orders",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "Dispatched", // name: "Dispatched",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/dispatched", // to: "/orders/dispatched",
group: "Orders", // group: "Orders",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "Delivered", // name: "Delivered",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/delivered", // to: "/orders/delivered",
group: "Orders", // group: "Orders",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "Cancelled", // name: "Cancelled",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/cancelled", // to: "/orders/cancelled",
group: "Orders", // group: "Orders",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "In Store Cash Orders", // name: "In Store Cash Orders",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/inStoreCashOrders/new", // to: "/inStoreCashOrders/new",
group: "Orders", // group: "Orders",
}, // },
{ // {
component: CNavItem, // component: CNavItem,
name: "In Store QRCode Orders", // name: "In Store QRCode Orders",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />, // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/InStoreQRCodeOrders/new", // to: "/InStoreQRCodeOrders/new",
group: "Orders", // group: "Orders",
}, // },
], // ],
}, // },
{ {
component: CNavGroup, component: CNavGroup,
name: "Settings", name: "Settings",