taks-d.2.1
This commit is contained in:
@@ -35,110 +35,113 @@ import { NavGroup } from "@/types";
|
||||
*/
|
||||
export const navGroups: NavGroup[] = [
|
||||
{
|
||||
label: 'Overview',
|
||||
label: "Overview",
|
||||
items: [
|
||||
{
|
||||
title: 'Dashboard',
|
||||
url: '/dashboard',
|
||||
icon: 'dashboard',
|
||||
title: "Dashboard",
|
||||
url: "/dashboard",
|
||||
icon: "dashboard",
|
||||
isActive: false,
|
||||
shortcut: ['d', 'd'],
|
||||
items: []
|
||||
shortcut: ["d", "d"],
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
title: 'Workspaces',
|
||||
url: '/dashboard/workspaces',
|
||||
icon: 'workspace',
|
||||
title: "Workspaces",
|
||||
url: "/dashboard/workspaces",
|
||||
icon: "workspace",
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { systemRole: 'super_admin' }
|
||||
access: { systemRole: "super_admin" },
|
||||
},
|
||||
{
|
||||
title: 'Teams',
|
||||
url: '/dashboard/workspaces/team',
|
||||
icon: 'teams',
|
||||
title: "Teams",
|
||||
url: "/dashboard/workspaces/team",
|
||||
icon: "teams",
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { requireOrg: true, role: 'admin' }
|
||||
access: { requireOrg: true, role: "admin" },
|
||||
},
|
||||
{
|
||||
title: 'Users',
|
||||
url: '/dashboard/users',
|
||||
icon: 'teams',
|
||||
shortcut: ['u', 'u'],
|
||||
title: "Users",
|
||||
url: "/dashboard/users",
|
||||
icon: "teams",
|
||||
shortcut: ["u", "u"],
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { requireOrg: true, permission: 'users:manage' }
|
||||
access: { requireOrg: true, permission: "users:manage" },
|
||||
},
|
||||
{
|
||||
title: 'Kanban',
|
||||
url: '/dashboard/kanban',
|
||||
icon: 'kanban',
|
||||
shortcut: ['k', 'k'],
|
||||
title: "Kanban",
|
||||
url: "/dashboard/kanban",
|
||||
icon: "kanban",
|
||||
shortcut: ["k", "k"],
|
||||
isActive: false,
|
||||
items: []
|
||||
}
|
||||
]
|
||||
items: [],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'CRM',
|
||||
label: "CRM",
|
||||
items: [
|
||||
{
|
||||
title: 'Customers',
|
||||
url: '/dashboard/crm/customers',
|
||||
icon: 'teams',
|
||||
title: "Customers",
|
||||
url: "/dashboard/crm/customers",
|
||||
icon: "teams",
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { requireOrg: true, permission: 'crm.customer.read' }
|
||||
access: { requireOrg: true, permission: "crm.customer.read" },
|
||||
},
|
||||
{
|
||||
title: 'Enquiries',
|
||||
url: '/dashboard/crm/enquiries',
|
||||
icon: 'forms',
|
||||
title: "Enquiries (Lead)",
|
||||
url: "/dashboard/crm/enquiries",
|
||||
icon: "forms",
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { requireOrg: true, permission: 'crm.enquiry.read' }
|
||||
access: { requireOrg: true, permission: "crm.enquiry.read" },
|
||||
},
|
||||
{
|
||||
title: 'Quotations',
|
||||
url: '/dashboard/crm/quotations',
|
||||
icon: 'post',
|
||||
title: "Quotations",
|
||||
url: "/dashboard/crm/quotations",
|
||||
icon: "post",
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { requireOrg: true, role: 'admin' }
|
||||
access: { requireOrg: true, role: "admin" },
|
||||
},
|
||||
{
|
||||
title: 'Approvals',
|
||||
url: '/dashboard/crm/approvals',
|
||||
icon: 'checks',
|
||||
title: "Approvals",
|
||||
url: "/dashboard/crm/approvals",
|
||||
icon: "checks",
|
||||
isActive: false,
|
||||
items: [],
|
||||
access: { requireOrg: true, permission: 'crm.approval.read' }
|
||||
access: { requireOrg: true, permission: "crm.approval.read" },
|
||||
},
|
||||
{
|
||||
title: 'CRM Settings',
|
||||
url: '/dashboard/crm/settings/master-options',
|
||||
icon: 'settings',
|
||||
title: "CRM Settings",
|
||||
url: "/dashboard/crm/settings/master-options",
|
||||
icon: "settings",
|
||||
isActive: false,
|
||||
access: { requireOrg: true, permission: 'crm.document_template.read' },
|
||||
access: { requireOrg: true, permission: "crm.document_template.read" },
|
||||
items: [
|
||||
{
|
||||
title: 'Master Options',
|
||||
url: '/dashboard/crm/settings/master-options',
|
||||
access: { requireOrg: true, permission: 'organization:manage' }
|
||||
title: "Master Options",
|
||||
url: "/dashboard/crm/settings/master-options",
|
||||
access: { requireOrg: true, permission: "organization:manage" },
|
||||
},
|
||||
{
|
||||
title: 'Document Sequences',
|
||||
url: '/dashboard/crm/settings/document-sequences',
|
||||
access: { requireOrg: true, permission: 'organization:manage' }
|
||||
title: "Document Sequences",
|
||||
url: "/dashboard/crm/settings/document-sequences",
|
||||
access: { requireOrg: true, permission: "organization:manage" },
|
||||
},
|
||||
{
|
||||
title: 'Templates',
|
||||
url: '/dashboard/crm/settings/templates',
|
||||
access: { requireOrg: true, permission: 'crm.document_template.read' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
title: "Templates",
|
||||
url: "/dashboard/crm/settings/templates",
|
||||
access: {
|
||||
requireOrg: true,
|
||||
permission: "crm.document_template.read",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user