hide order and product management
This commit is contained in:
parent
67928e0cb7
commit
a97fad459a
184
src/_nav.js
184
src/_nav.js
@ -46,36 +46,36 @@ const _nav = [
|
||||
group: "Customers",
|
||||
},
|
||||
|
||||
{
|
||||
component: CNavGroup,
|
||||
name: "Product Management",
|
||||
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
||||
group: "",
|
||||
// {
|
||||
// component: CNavGroup,
|
||||
// name: "Product Management",
|
||||
// icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
||||
// group: "",
|
||||
|
||||
items: [
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Categories",
|
||||
icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
|
||||
to: "/categories",
|
||||
group: "Product Management",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Products",
|
||||
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
||||
to: "/products",
|
||||
group: "Product Management",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "GST",
|
||||
icon: <CIcon icon={cilTablet} customClassName="nav-icon" />,
|
||||
to: "/tax",
|
||||
group: "Product Management",
|
||||
},
|
||||
],
|
||||
},
|
||||
// items: [
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Categories",
|
||||
// icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
|
||||
// to: "/categories",
|
||||
// group: "Product Management",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Products",
|
||||
// icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
||||
// to: "/products",
|
||||
// group: "Product Management",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "GST",
|
||||
// icon: <CIcon icon={cilTablet} customClassName="nav-icon" />,
|
||||
// to: "/tax",
|
||||
// group: "Product Management",
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "SalesCoOrdinator",
|
||||
@ -83,70 +83,70 @@ const _nav = [
|
||||
to: "/salescoordinators",
|
||||
group: "SalesCoOrdinator",
|
||||
},
|
||||
{
|
||||
component: CNavGroup,
|
||||
name: "Orders",
|
||||
icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
|
||||
group: "",
|
||||
// {
|
||||
// component: CNavGroup,
|
||||
// name: "Orders",
|
||||
// icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
|
||||
// group: "",
|
||||
|
||||
items: [
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "New",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/orders/new",
|
||||
group: "Orders",
|
||||
},
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Paid",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/orders/returned",
|
||||
// },
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Processing",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/orders/processing",
|
||||
group: "Orders",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Dispatched",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/orders/dispatched",
|
||||
group: "Orders",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Delivered",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/orders/delivered",
|
||||
group: "Orders",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "Cancelled",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/orders/cancelled",
|
||||
group: "Orders",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "In Store Cash Orders",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/inStoreCashOrders/new",
|
||||
group: "Orders",
|
||||
},
|
||||
{
|
||||
component: CNavItem,
|
||||
name: "In Store QRCode Orders",
|
||||
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
to: "/InStoreQRCodeOrders/new",
|
||||
group: "Orders",
|
||||
},
|
||||
],
|
||||
},
|
||||
// items: [
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "New",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/orders/new",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// // {
|
||||
// // component: CNavItem,
|
||||
// // name: "Paid",
|
||||
// // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// // to: "/orders/returned",
|
||||
// // },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Processing",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/orders/processing",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Dispatched",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/orders/dispatched",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Delivered",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/orders/delivered",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "Cancelled",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/orders/cancelled",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "In Store Cash Orders",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/inStoreCashOrders/new",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// {
|
||||
// component: CNavItem,
|
||||
// name: "In Store QRCode Orders",
|
||||
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
||||
// to: "/InStoreQRCodeOrders/new",
|
||||
// group: "Orders",
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
component: CNavGroup,
|
||||
name: "Settings",
|
||||
|
Loading…
Reference in New Issue
Block a user