diff --git a/src/data/menuData.json b/src/data/menuData.json index 494f45dd..6491d852 100644 --- a/src/data/menuData.json +++ b/src/data/menuData.json @@ -1,125 +1,118 @@ [ - { - "header": "", - "items": [ - { - "text": "Dashboard", - "icon": "bx bx-home", - "available": true, - "link": "/dashboard" - }, - { - "text": "Projects", - "icon": "bx bx-building-house", - "available": true, - "link": "/projects" - }, - { - "text": "Employees", - "icon": "bx bx-user", - "available": true, - "link": "/employees" - }, - { - "text": "Activities", - "icon": "bx bx-list-ul", - "available": true, - "link": "", - "submenu": [ - { - "text": "Attendance", - "available": true, - "link": "/activities/Attendance" - }, - { - "text": "Daily Task Planning", - "available": true, - "link": "/activities/task" - }, - { - "text": "Daily Progress Report", - "available": true, - "link": "/activities/records" - }, - { - "text": "Project Report", - "available": true, - "link": "/activities/reports" - }, - - { - "text": "Daily Expenses", - "available": true, - "link": "/activities/reports" - } + { + "header": "", + "items": [ + { + "text": "Dashboard", + "icon": "bx bx-home", + "available": true, + "link": "/dashboard" + }, + { + "text": "Projects", + "icon": "bx bx-building-house", + "available": true, + "link": "/projects" + }, + { + "text": "Employees", + "icon": "bx bx-user", + "available": true, + "link": "/employees" + }, + { + "text": "Activities", + "icon": "bx bx-list-ul", + "available": true, + "link": "", + "submenu": [ + { + "text": "Attendance", + "available": true, + "link": "/activities/Attendance" + }, + { + "text": "Daily Task Planning", + "available": true, + "link": "/activities/task" + }, + { + "text": "Daily Progress Report", + "available": true, + "link": "/activities/records" + }, + { + "text": "Project Report", + "available": true, + "link": "/activities/reports" + }, + + { + "text": "Daily Expenses", + "available": true, + "link": "/activities/reports" + } + ] + }, + { + "text": "Directory", + "icon": "bx bx-group", + "available": true, + "link": "/directory" + }, + { + "text": "Image Gallary", + "icon": "bx bx-images", + "available": true, + "link": "/gallary" + }, + { + "text": "Administration", + "icon": "bx bx-box", + "available": true, + "link": "", + "submenu": [ + { + "text": "Users", + "available": true, + "link": "/employees/" + }, + { + "text": "Masters", + "available": true, + "link": "/masters" + } + ] + }, + { + "text": "Inventory", + "icon": "bx bx-store", + "available": true, + "link": "/inventory" + } ] - }, - { - "text": "Directory", - "icon": "bx bx-group", - "available": true, - "link": "/directory" - }, - { - "text": "Expense", - "icon": "bx bx-receipt", - "available": true, - "link": "/expenses" - }, - - { - "text": "Image Gallary", - "icon": "bx bx-images", - "available": true, - "link": "/gallary" - }, - { - "text": "Administration", - "icon": "bx bx-box", - "available": true, - "link": "", - "submenu": [ - { - "text": "Users", - "available": true, - "link": "/employees/" - }, - { - "text": "Masters", - "available": true, - "link": "/masters" - } + }, + { + "header": "", + "items": [ + { + "text": "Support", + "icon": "bx bx-copy", + "available": true, + "link": "/help/support" + }, + { + "text": "Documentation", + "available": true, + "icon": "bx bx-book-reader", + "link": "/help/docs" + }, + { + "text": "Help Desk", + "available": true, + "link": "/help/connect", + "icon": "bx bx-question-mark" + } ] - }, - { - "text": "Inventory", - "icon": "bx bx-store", - "available": true, - "link": "/inventory" - } - ] - }, - { - "header": "", - "items": [ - { - "text": "Support", - "icon": "bx bx-copy", - "available": true, - "link": "/help/support" - }, - { - "text": "Documentation", - "available": true, - "icon": "bx bx-book-reader", - "link": "/help/docs" - }, - { - "text": "Help Desk", - "available": true, - "link": "/help/connect", - "icon": "bx bx-question-mark" - } - ] - } + } ] diff --git a/src/router/AppRoutes.jsx b/src/router/AppRoutes.jsx index 8e34ec9b..b489a311 100644 --- a/src/router/AppRoutes.jsx +++ b/src/router/AppRoutes.jsx @@ -38,7 +38,6 @@ import LegalInfoCard from "../pages/TermsAndConditions/LegalInfoCard"; import ProtectedRoute from "./ProtectedRoute"; import Directory from "../pages/Directory/Directory"; import LoginWithOtp from "../pages/authentication/LoginWithOtp"; -import ExpensePage from "../pages/Expense/ExpensePage"; import TenantPage from "../pages/Tenant/TenantPage"; import CreateTenant from "../pages/Tenant/CreateTenant"; diff --git a/src/utils/constants.jsx b/src/utils/constants.jsx index 3a7c0320..371ae4f7 100644 --- a/src/utils/constants.jsx +++ b/src/utils/constants.jsx @@ -41,30 +41,6 @@ export const DIRECTORY_MANAGER = "62668630-13ce-4f52-a0f0-db38af2230c5" export const DIRECTORY_USER = "0f919170-92d4-4337-abd3-49b66fc871bb" -export const VIEW_SELF_EXPENSE = "385be49f-8fde-440e-bdbc-3dffeb8dd116" - -export const VIEW_ALL_EXPNESE = "01e06444-9ca7-4df4-b900-8c3fa051b92f"; - -export const CREATE_EXEPENSE = "0f57885d-bcb2-4711-ac95-d841ace6d5a7"; - -export const REVIEW_EXPENSE = "1f4bda08-1873-449a-bb66-3e8222bd871b"; - -export const APPROVE_EXPENSE = "eaafdd76-8aac-45f9-a530-315589c6deca"; - - -export const PROCESS_EXPENSE = "ea5a1529-4ee8-4828-80ea-0e23c9d4dd11" - -export const EXPENSE_MANAGE = "ea5a1529-4ee8-4828-80ea-0e23c9d4dd11" - -export const EXPENSE_REJECTEDBY = ["d1ee5eec-24b6-4364-8673-a8f859c60729","965eda62-7907-4963-b4a1-657fb0b2724b"] - -export const EXPENSE_DRAFT = "297e0d8f-f668-41b5-bfea-e03b354251c8" -// -------------------Application Role------------------------------ - -// 1 - Expense Manage -export const EXPENSE_MANAGEMENT = "a4e25142-449b-4334-a6e5-22f70e4732d7" - - export const BASIC_PLAN = "08ddd43e-ca62-4cf4-8d7b-569a364307f4" export const BASE_URL = process.env.VITE_BASE_URL;