788 lines
27 KiB
React
788 lines
27 KiB
React
|
|
import AppPage from "./Pages/appPage/AppPage.jsx";
|
||
|
|
import CompanyForm from "./Pages/company/companyForm.jsx";
|
||
|
|
import CompanyList from "./Pages/company/companyList.jsx";
|
||
|
|
import AdminTax from "./Pages/adminTax/adminTaxForm.jsx";
|
||
|
|
import BranchForm from "./Pages/branch/branchForm.jsx";
|
||
|
|
import BranchList from "./Pages/branch/branchList.jsx";
|
||
|
|
import MappingFeatures from "./Pages/ApplicationPreference/ApplicationPreferenceForm.jsx";
|
||
|
|
import ApplicationPreferenceList from "./Pages/ApplicationPreference/ApplicationPrefernceList.jsx";
|
||
|
|
import ApplicationForm from "./Pages/application/applicationForm.jsx";
|
||
|
|
import ApplicationList from "./Pages/application/applicationList.jsx";
|
||
|
|
import CommonMaster from "./Pages/commonMaster/CommonMaster.jsx";
|
||
|
|
import ConfigTypeForm from "./Pages/configType/configtypeForm.jsx";
|
||
|
|
import ApplicationImageForm from "./Pages/applicationImage/applicationImageForm.jsx";
|
||
|
|
import AppPriceFeatureMapping from "./Pages/appPriceFeatureMapping/appPriceFeatureMappingList.jsx";
|
||
|
|
import AppPriceFeatureMappingForm from "./Pages/appPriceFeatureMapping/appPriceFeatureMappingForm.jsx";
|
||
|
|
import AppMenu from "./Pages/appMenu/appMenuList.jsx";
|
||
|
|
import AppMenuForm from "./Pages/appMenu/appMenuForm.jsx";
|
||
|
|
import Pricing from "./Pages/pricingType/pricingTypeList.jsx";
|
||
|
|
import PricingForm from "./Pages/pricingType/pricingTypeForm.jsx";
|
||
|
|
import CarouselForm from "./Pages/carousel/carouselForm.jsx";
|
||
|
|
import FeatureList from "./Pages/feature/featureList.jsx";
|
||
|
|
import FeatureForm from "./Pages/feature/featureForm.jsx";
|
||
|
|
import UserForm from "./Pages/user/userForm.jsx";
|
||
|
|
import UserList from "./Pages/user/userList.jsx";
|
||
|
|
import SuperAdminuserList from "./Pages/SuperAdminUser/SuperAdminUserList.jsx";
|
||
|
|
import SuperAdminuserForm from "./Pages/SuperAdminUser/SuperAdminUserForm.jsx";
|
||
|
|
import LandignPageLayout from "./Pages/LandingPage/landingPageLayout.jsx";
|
||
|
|
import Home from "./Pages/homeApp/home.jsx";
|
||
|
|
import PublicSignup from "../src/Pages/PublicSignup/Signup.jsx";
|
||
|
|
import PublicHome from "../src/Pages/publichome/HomePage.jsx";
|
||
|
|
import Signin from "../src/Pages/publicsignin/Signin.jsx";
|
||
|
|
import ModuleAccess from "../src/Pages/ModuleAccess/ModuleAccess.jsx";
|
||
|
|
import AppMenuAccess from "../src/Pages/appMenuAccess/appMenuAccess.jsx";
|
||
|
|
import Application from "./Pages/applications/application.jsx";
|
||
|
|
import UserAccount from "./Pages/userAccount/userAccount.jsx";
|
||
|
|
import MessageTemplateForm from "./Pages/MessageTemplate/MessageTemplateForm.jsx";
|
||
|
|
import MessageTemplateList from "./Pages/MessageTemplate/MessageTemplateList.jsx";
|
||
|
|
import PaymentUPIDetailsForm from "./Pages/PaymentUPIDetails/PaymentUPIDetailsForm.jsx";
|
||
|
|
import PaymentUPIDetailsList from "./Pages/PaymentUPIDetails/PaymentUPIDetailsList.jsx";
|
||
|
|
import PdfPageCommon from "./Pages/paymentpdfPage/PaymentPdfCommon.jsx";
|
||
|
|
import PricingDetails from "./Pages/pricingTypeRestaurant/Pricing.jsx";
|
||
|
|
import InvoiceDetail from "../src/Pages/InvoiceDetail/InvoiceDetail";
|
||
|
|
import PaymentPage from "../src/Pages/PaymentMobilePage/PaymentPage";
|
||
|
|
import AppTemplate from "../src/Pages/themeTemplate/AppTemplate.jsx";
|
||
|
|
import Feature1 from "./Pages/themeTemplate/TemplateComps/Features/Features1.jsx";
|
||
|
|
import OverView2 from "../src/Pages/themeTemplate/TemplateComps/OverVIews/OverView2.jsx";
|
||
|
|
import Template from "./Pages/themeTemplate/Template.jsx";
|
||
|
|
import AllTemplates from "./Pages/themeTemplate/AllTemplates.jsx";
|
||
|
|
import AllTemplatesEdit from "./Pages/themeTemplate/AllTemplateEdit.jsx";
|
||
|
|
import PdfPage from "./Pages/paymentpdfPage/paymentpdfpage.jsx";
|
||
|
|
import PdfPageDownload from "./Pages/PdfDoc/PdfDocDownload.jsx";
|
||
|
|
import CurrencyForm from "./Pages/currency/currencyForm.jsx";
|
||
|
|
import ComingSoon from "./Pages/comingSoon.jsx";
|
||
|
|
import PaymentMethod from "./Pages/ccavenueCustom/paymentMethod.jsx";
|
||
|
|
import PaymentDetail from "./Pages/ccavenueCustom/paymentDetails.jsx";
|
||
|
|
import CustomPaymentGateway from "../src/Pages/InvoiceDetail/customPaymentGateway";
|
||
|
|
import PaymentHistory from "./Pages/Payment/PaymentHistory.jsx";
|
||
|
|
import FeatureAddon from "./Pages/FeaturesPricing/FeatureAddon.jsx";
|
||
|
|
import FeatureAddonForm from "./Pages/FeaturesPricing/FeatureAddonForm.jsx";
|
||
|
|
import FeatureInvoice from "./Pages/FeaturesPricing/FeatureInvoice.jsx";
|
||
|
|
import FeaturesPricing from "./Pages/FeaturesPricing/featurespricing.jsx";
|
||
|
|
import FeaturesPricingForm from "./Pages/FeaturesPricing/FeaturePriceForm.jsx";
|
||
|
|
import SmsAssignedDetailForm from "./Pages/SmsAssignDetail/SmsAssignedDetailForm.jsx";
|
||
|
|
import SmsAssignedDetailList from "./Pages/SmsAssignDetail/SmsAssignedDetailList.jsx";
|
||
|
|
import FailedPaymentHistory from "./Pages/Payment/FailedPaymentHistory.jsx";
|
||
|
|
import { PaymentGatewayConfigForm } from "./Pages/paymentGatewayConfig/PaymentGatewayConfigForm.jsx";
|
||
|
|
import PaymentGatewayConfigList from "./Pages/paymentGatewayConfig/PaymentGatewayConfigList.jsx";
|
||
|
|
import PaymentDeviceConfigList from "./Pages/paymentDeviceConfig/PaymentDeviceConfigList.jsx";
|
||
|
|
import PaymentDeviceConfigForm from "./Pages/paymentDeviceConfig/PaymentDeviceConfigForm.jsx";
|
||
|
|
import DeviceAllocationlist from "./Pages/kisokDevice/DeviceAllocationList.jsx";
|
||
|
|
import DeviceAllocationform from "./Pages/kisokDevice/DeviceAllocationForm.jsx";
|
||
|
|
import DeviceInformation from "./Pages/kisokDevice/DeviceInformation.jsx";
|
||
|
|
import TestimonialsList from "./Pages/testimonials/TestimonialsList.jsx";
|
||
|
|
import TestimonialsForm from "./Pages/testimonials/TestimonialsForm.jsx";
|
||
|
|
import POZOTestimonials from "./Pages/testimonials/TestimonialsForPublic.jsx";
|
||
|
|
import Andriod_version from "./Pages/Andriod_version/deviceversion.jsx";
|
||
|
|
import Andriod_versionManagment from "./Pages/Andriod_version/versionManagement.jsx";
|
||
|
|
import SigninDetailsList from "./Pages/signinDetails/signinDetailsList.jsx";
|
||
|
|
import PurchaseInfo from "./Pages/purchaseInfo/purchaseInfo.jsx";
|
||
|
|
import LoyaltysettingList from "./Pages/LoyaltySetting/LoyaltysettingList.jsx";
|
||
|
|
import LoyaltysettingsForm from "./Pages/LoyaltySetting/LoyaltysettingsForm.jsx";
|
||
|
|
import TicketsDetails from "./Pages/ticketsDetails/ticketDetails.jsx";
|
||
|
|
import UserOtp from "./Pages/userOtp/userotp.jsx";
|
||
|
|
import CompanyBranchDetails from "./Pages/abstract/abstract.jsx";
|
||
|
|
import RefferedEmployeelist from "./Pages/RefferedEmployee/RefferedEmployeelist.jsx";
|
||
|
|
import VisitTrackingLog from "./Pages/SiteVisiteLog/VisitTrackingLog.jsx";
|
||
|
|
import ActivationkeyGeneration from "./Pages/ActivationkeyGeneration/ActivationkeyGeneration.jsx";
|
||
|
|
import FaqShow from "./Pages/themeTemplate/TemplateComps/Faq/FaqShow.jsx";
|
||
|
|
import GodownForm from "./Pages/WareHouse/WareHouseForm.jsx";
|
||
|
|
import GodownList from "./Pages/WareHouse/WareHouseList.jsx";
|
||
|
|
import HomePage from "./PozoApp/Pages/HomePage.jsx";
|
||
|
|
import SignIn from "./PozoApp/Components/SignIn.jsx";
|
||
|
|
import LiveSession from "./PozoApp/Components/LiveSession.jsx";
|
||
|
|
import ContactUs from "./PozoApp/Components/ContactUs.jsx";
|
||
|
|
import PricingPozoApp from "./PozoApp/Components/PricingPozoApp.jsx";
|
||
|
|
import Solutions from "./PozoApp/Pages/Solutions.jsx";
|
||
|
|
import RetailBilling from "./PozoApp/Pages/Solutions/RetailBilling.jsx";
|
||
|
|
import InventoryPurchase from "./PozoApp/Pages/Solutions/InventoryPurchase.jsx";
|
||
|
|
import WeighingScalePOS from "./PozoApp/Pages/Solutions/WeighingScalePOS.jsx";
|
||
|
|
import MultiStoreERP from "./PozoApp/Pages/Solutions/MultiStoreERP.jsx";
|
||
|
|
import GSTBillingEInvoice from "./PozoApp/Pages/Solutions/GSTBillingEInvoice.jsx";
|
||
|
|
import OfflineBilling from "./PozoApp/Pages/Solutions/OfflineBilling.jsx";
|
||
|
|
import CaseStudies from "./PozoApp/Pages/CaseStudies.jsx";
|
||
|
|
import GatewayMasterConfiguration from "./Pages/GatewayMasterConfiguration/GatewayMasterConfiguration.jsx";
|
||
|
|
import GatewayMasterConfigurationList from "./Pages/GatewayMasterConfiguration/GatewayMasterConfigurationList.jsx";
|
||
|
|
import AdminPanelWrapper from "./AdminPanel/AdminPanelWrapper.jsx";
|
||
|
|
import Blog from "./AdminPanel/Blog/Blog.jsx";
|
||
|
|
import BlogDetail from "./AdminPanel/Blog/BlogDetail.jsx";
|
||
|
|
// import LandingPageCMS from "./LandingPageCMS/LandingPageCMS.jsx";
|
||
|
|
import PostEditorPage from "./Pages/PostEditorPage.jsx";
|
||
|
|
import PrivacyPolicy from "./PozoApp/Company/PrivacyPolicy.jsx";
|
||
|
|
import CookiePolicy from "./PozoApp/Company/CookiePolicy.jsx";
|
||
|
|
import AboutUs from "./PozoApp/Company/AboutUs.jsx";
|
||
|
|
import FaqPage from "./PozoApp/Company/FaqPage.jsx";
|
||
|
|
|
||
|
|
import ScheduleDemo from "./Pages/ScheduleDemo/ScheduleDemo.jsx";
|
||
|
|
import DemoRequestsList from "./Pages/DemoRequests/DemoRequestsList.jsx";
|
||
|
|
|
||
|
|
const subDirectory = import.meta.env.ENV_BASE_URL;
|
||
|
|
export const routesConfig = [
|
||
|
|
{ path: `${subDirectory}`, component: HomePage, access: "Public" },
|
||
|
|
{
|
||
|
|
path: `${subDirectory}development`,
|
||
|
|
component: ComingSoon,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}adminpanel`,
|
||
|
|
component: AdminPanelWrapper,
|
||
|
|
access: "Marketing",
|
||
|
|
empAccess: "Admin Panel",
|
||
|
|
},
|
||
|
|
|
||
|
|
{ path: `${subDirectory}:appName`, component: Template, access: "Public" },
|
||
|
|
{ path: `${subDirectory}industries/:appName`, component: Template, access: "Public" },
|
||
|
|
{ path: `${subDirectory}feature1`, component: Feature1 },
|
||
|
|
{ path: `${subDirectory}pdf`, component: PdfPage, access: "Admin" },
|
||
|
|
{
|
||
|
|
path: `${subDirectory}payment-page-download`,
|
||
|
|
component: PdfPageDownload,
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}public-signup`,
|
||
|
|
component: PublicSignup,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{ path: `${subDirectory}signinOld`, component: Signin, access: "Public" },
|
||
|
|
{ path: `${subDirectory}signin`, component: SignIn, access: "Public" },
|
||
|
|
{
|
||
|
|
path: `${subDirectory}payment-pdf`,
|
||
|
|
component: PdfPageCommon,
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}pricing-details`,
|
||
|
|
component: PricingDetails,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}invoice-detail`,
|
||
|
|
component: InvoiceDetail,
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}payment-page`,
|
||
|
|
component: PaymentPage,
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
// { path: `${subDirectory}overview2`, component: OverView2, props: { data: fieldData } },
|
||
|
|
{
|
||
|
|
path: `${subDirectory}FeatureInvoice`,
|
||
|
|
component: FeatureInvoice,
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}testimonials`,
|
||
|
|
component: POZOTestimonials,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{ path: `${subDirectory}faq`, component: FaqPage, access: "Public" },
|
||
|
|
|
||
|
|
{ path: `${subDirectory}homepage`, component: PublicHome, access: "Public" },
|
||
|
|
// { path: `${subDirectory}signinnew`, component: SignIn, access: "Public" },
|
||
|
|
{
|
||
|
|
path: `${subDirectory}pricing`,
|
||
|
|
component: PricingPozoApp,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}live-Session`,
|
||
|
|
component: LiveSession,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{ path: `${subDirectory}contact-us`, component: ContactUs, access: "Public" },
|
||
|
|
{ path: `${subDirectory}schedule-demo`, component: ScheduleDemo, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions`, component: Solutions, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions/retail-billing`, component: RetailBilling, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions/inventory-purchase`, component: InventoryPurchase, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions/weighing-scale-pos`, component: WeighingScalePOS, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions/multi-store-erp`, component: MultiStoreERP, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions/gst-billing-e-invoice`, component: GSTBillingEInvoice, access: "Public" },
|
||
|
|
{ path: `${subDirectory}solutions/offline-billing`, component: OfflineBilling, access: "Public" },
|
||
|
|
{ path: `${subDirectory}case-studies`, component: CaseStudies, access: "Public" },
|
||
|
|
{ path: `${subDirectory}blog`, component: Blog, access: "Public" },
|
||
|
|
// {
|
||
|
|
// path: `${subDirectory}blog/blog-details/:id`,
|
||
|
|
// component: BlogDetail,
|
||
|
|
// access: "Public",
|
||
|
|
// },
|
||
|
|
{
|
||
|
|
path: `${subDirectory}blog/:slug`,
|
||
|
|
component: BlogDetail,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}PostEditorPage`,
|
||
|
|
component: PostEditorPage,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}privacy-policy`,
|
||
|
|
component: PrivacyPolicy,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}cookie-policy`,
|
||
|
|
component: CookiePolicy,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}about-us`,
|
||
|
|
component: AboutUs,
|
||
|
|
access: "Public",
|
||
|
|
},
|
||
|
|
// { path: `${subDirectory}customPayment`, component: CustomPaymentGateway },
|
||
|
|
|
||
|
|
{
|
||
|
|
path: `${subDirectory}landing-page`,
|
||
|
|
component: AppPage,
|
||
|
|
access: "Admin",
|
||
|
|
empAccess: "Super Admin User",
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: "home",
|
||
|
|
component: Home,
|
||
|
|
access: "Admin",
|
||
|
|
empAccess: "Super Admin User",
|
||
|
|
employeeAccess: true,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "apps",
|
||
|
|
component: Application,
|
||
|
|
access: "Admin",
|
||
|
|
empAccess: "Super Admin User",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "user-account",
|
||
|
|
component: UserAccount,
|
||
|
|
access: "Admin",
|
||
|
|
empAccess: "Super Admin User",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "user-account-edit",
|
||
|
|
component: () => <UserAccount status="edit" />,
|
||
|
|
access: "Admin",
|
||
|
|
empAccess: "Super Admin User",
|
||
|
|
employeeAccess: true,
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: `${subDirectory}setting`,
|
||
|
|
component: AppPage,
|
||
|
|
access: "Admin",
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: "tickets-details",
|
||
|
|
component: TicketsDetails,
|
||
|
|
empAccess: "Tickets",
|
||
|
|
},
|
||
|
|
{ path: "themes", component: AppTemplate, empAccess: "Templates" },
|
||
|
|
{
|
||
|
|
path: "all-templates",
|
||
|
|
component: AllTemplates,
|
||
|
|
empAccess: "Templates",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "all-templates/update",
|
||
|
|
component: AllTemplatesEdit,
|
||
|
|
empAccess: "Templates",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-gateway-config",
|
||
|
|
component: PaymentGatewayConfigList,
|
||
|
|
empAccess: "Payment Gateway Config",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-gateway-config/new",
|
||
|
|
component: (props) => (
|
||
|
|
<PaymentGatewayConfigForm {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Payment Gateway Config",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-gateway-config/update",
|
||
|
|
component: (props) => (
|
||
|
|
<PaymentGatewayConfigForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Payment Gateway Config",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-device-config",
|
||
|
|
component: PaymentDeviceConfigList,
|
||
|
|
empAccess: "Payment Device Config",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-device-config/new",
|
||
|
|
component: (props) => (
|
||
|
|
<PaymentDeviceConfigForm {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Payment Device Config",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-device-config/update",
|
||
|
|
component: (props) => (
|
||
|
|
<PaymentDeviceConfigForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Payment Device Config",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "company-master",
|
||
|
|
component: CompanyList,
|
||
|
|
empAccess: "Company",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "application-preference-mapping/new",
|
||
|
|
component: (props) => <MappingFeatures {...props} formType="add" />,
|
||
|
|
empAccess: "MappingFeatures",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "application-preference-mapping/update",
|
||
|
|
component: (props) => <MappingFeatures {...props} formType="edit" />,
|
||
|
|
empAccess: "MappingFeatures",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "application-preference-mapping",
|
||
|
|
component: ApplicationPreferenceList,
|
||
|
|
empAccess: "MappingFeatures",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "company-master/new",
|
||
|
|
component: (props) => <CompanyForm {...props} formType="add" />,
|
||
|
|
empAccess: "Company",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "company-master/update",
|
||
|
|
component: (props) => <CompanyForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Company",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "branch-master",
|
||
|
|
component: BranchList,
|
||
|
|
empAccess: "Branch",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "branch-master/new",
|
||
|
|
component: (props) => <BranchForm {...props} formType="add" />,
|
||
|
|
empAccess: "Branch",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "branch-master/update",
|
||
|
|
component: (props) => <BranchForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Branch",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "warehouse-master",
|
||
|
|
component: GodownList,
|
||
|
|
empAccess: "Warehouse",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "warehouse-master/new",
|
||
|
|
component: (props) => <GodownForm {...props} formType="add" />,
|
||
|
|
empAccess: "Warehouse",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "warehouse-master/update",
|
||
|
|
component: (props) => <GodownForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Warehouse",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "application-master",
|
||
|
|
component: ApplicationList,
|
||
|
|
empAccess: "Application",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "application-master/new",
|
||
|
|
component: (props) => <ApplicationForm {...props} formType="add" />,
|
||
|
|
empAccess: "Application",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "application-master/update",
|
||
|
|
component: (props) => <ApplicationForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Application",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "app-menu",
|
||
|
|
component: AppMenu,
|
||
|
|
empAccess: "Application Menu",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "app-menu/new",
|
||
|
|
component: (props) => <AppMenuForm {...props} formType="add" />,
|
||
|
|
empAccess: "Application Menu",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "app-menu/update",
|
||
|
|
component: (props) => <AppMenuForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Application Menu",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feature-mapping",
|
||
|
|
component: AppPriceFeatureMapping,
|
||
|
|
empAccess: "Feature Mapping",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feature-mapping/new",
|
||
|
|
component: (props) => (
|
||
|
|
<AppPriceFeatureMappingForm {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Feature Mapping",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feature-mapping/update",
|
||
|
|
component: (props) => (
|
||
|
|
<AppPriceFeatureMappingForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Feature Mapping",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "device-allocation",
|
||
|
|
component: DeviceAllocationlist,
|
||
|
|
empAccess: "Device Allocation",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "device-allocation/new",
|
||
|
|
component: (props) => (
|
||
|
|
<DeviceAllocationform {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Device Allocation",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "device-allocation/update",
|
||
|
|
component: (props) => (
|
||
|
|
<DeviceAllocationform {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Device Allocation",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "device-information",
|
||
|
|
component: DeviceInformation,
|
||
|
|
empAccess: "Device Information",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feat-addon",
|
||
|
|
component: FeatureAddon,
|
||
|
|
empAccess: "Feature Addon",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feat-addon-form",
|
||
|
|
component: FeatureAddonForm,
|
||
|
|
empAccess: "Feature Addon",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "pricing",
|
||
|
|
component: Pricing,
|
||
|
|
empAccess: "Pricing Type",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "pricing/new",
|
||
|
|
component: (props) => <PricingForm {...props} formType="add" />,
|
||
|
|
empAccess: "Pricing Type",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "pricing/update",
|
||
|
|
component: (props) => <PricingForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Pricing Type",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feature-master",
|
||
|
|
component: FeatureList,
|
||
|
|
empAccess: "Feature",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feature-master/new",
|
||
|
|
component: (props) => <FeatureForm {...props} formType="add" />,
|
||
|
|
empAccess: "Feature",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "feature-master/update",
|
||
|
|
component: (props) => <FeatureForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Feature",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "user-master",
|
||
|
|
component: UserList,
|
||
|
|
empAccess: "User Creation",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "user-master/new",
|
||
|
|
component: (props) => <UserForm {...props} formType="add" />,
|
||
|
|
empAccess: "User Creation",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "user-master/update",
|
||
|
|
component: (props) => <UserForm {...props} formType="edit" />,
|
||
|
|
empAccess: "User Creation",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
path: "payment/payment-history",
|
||
|
|
component: PaymentHistory,
|
||
|
|
empAccess: "Payment History",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment/failed-payment-history",
|
||
|
|
component: FailedPaymentHistory,
|
||
|
|
empAccess: "Failed Payment History",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "message-template",
|
||
|
|
component: MessageTemplateList,
|
||
|
|
empAccess: "Message Template",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "message-template/new",
|
||
|
|
component: (props) => <MessageTemplateForm {...props} formType="add" />,
|
||
|
|
empAccess: "Message Template",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "message-template/update",
|
||
|
|
component: (props) => (
|
||
|
|
<MessageTemplateForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Message Template",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "PaymentUPIDetails",
|
||
|
|
component: PaymentUPIDetailsList,
|
||
|
|
empAccess: "Payment UPI Details",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "PaymentUPIDetails/new",
|
||
|
|
component: (props) => (
|
||
|
|
<PaymentUPIDetailsForm {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Payment UPI Details",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "PaymentUPIDetails/update",
|
||
|
|
component: (props) => (
|
||
|
|
<PaymentUPIDetailsForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Payment UPI Details",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "featurepricing",
|
||
|
|
component: FeaturesPricing,
|
||
|
|
empAccess: "Feature Pricing",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "featurepricing/new",
|
||
|
|
component: (props) => <FeaturesPricingForm {...props} formType="add" />,
|
||
|
|
empAccess: "Feature Pricing",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "featurepricing/update",
|
||
|
|
component: (props) => (
|
||
|
|
<FeaturesPricingForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Feature Pricing",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "sms-assigned-detail",
|
||
|
|
component: (props) => (
|
||
|
|
<SmsAssignedDetailList {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Feature Pricing",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "sms-assigned-detail/new",
|
||
|
|
component: (props) => (
|
||
|
|
<SmsAssignedDetailForm {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Feature Pricing",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "sms-assigned-detail/update",
|
||
|
|
component: (props) => (
|
||
|
|
<SmsAssignedDetailForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Feature Pricing",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "testimonials",
|
||
|
|
component: TestimonialsList,
|
||
|
|
empAccess: "Testimonials",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "abstract",
|
||
|
|
component: CompanyBranchDetails,
|
||
|
|
empAccess: "User App Info",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "testimonials/new",
|
||
|
|
component: (props) => <TestimonialsForm {...props} formType="add" />,
|
||
|
|
empAccess: "Testimonials",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "testimonials/update",
|
||
|
|
component: (props) => <TestimonialsForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Testimonials",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "super-admin-user-menu-access",
|
||
|
|
component: SuperAdminuserList,
|
||
|
|
empAccess: "Common Menu Access",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "super-admin-user-menu-access/new",
|
||
|
|
component: (props) => <SuperAdminuserForm {...props} formType="add" />,
|
||
|
|
empAccess: "Common Menu Access",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "super-admin-user-menu-access/update",
|
||
|
|
component: (props) => <SuperAdminuserForm {...props} formType="edit" />,
|
||
|
|
empAccess: "Common Menu Access",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "updated-version",
|
||
|
|
component: Andriod_version,
|
||
|
|
empAccess: "Updated Version",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "version-management",
|
||
|
|
component: Andriod_versionManagment,
|
||
|
|
empAccess: "Version Management",
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
path: "purchaseinfo",
|
||
|
|
component: PurchaseInfo,
|
||
|
|
empAccess: "Purchase Info",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "SiteVisitRecords",
|
||
|
|
component: VisitTrackingLog,
|
||
|
|
empAccess: "Loyalty setting",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "referral-setting",
|
||
|
|
component: LoyaltysettingList,
|
||
|
|
empAccess: "Loyalty Setting",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "referral-setting/new",
|
||
|
|
component: (props) => <LoyaltysettingsForm {...props} formType="add" />,
|
||
|
|
empAccess: "Loyalty Setting",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "referral-setting/update",
|
||
|
|
component: (props) => (
|
||
|
|
<LoyaltysettingsForm {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Loyalty Setting",
|
||
|
|
access: "Admin",
|
||
|
|
},
|
||
|
|
|
||
|
|
{
|
||
|
|
path: "app-access",
|
||
|
|
component: ModuleAccess,
|
||
|
|
access: "Admin",
|
||
|
|
empAccess: "Application Access",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "app-menu-access",
|
||
|
|
component: AppMenuAccess,
|
||
|
|
empAccess: "Application Menu Access",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "signin-details",
|
||
|
|
component: SigninDetailsList,
|
||
|
|
empAccess: "Signin Details",
|
||
|
|
},
|
||
|
|
{ path: "user-otp", component: UserOtp, empAccess: "User OTP" },
|
||
|
|
{
|
||
|
|
path: "config-master",
|
||
|
|
component: CommonMaster,
|
||
|
|
empAccess: "Config Master",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "config-type",
|
||
|
|
component: ConfigTypeForm,
|
||
|
|
empAccess: "Config Type",
|
||
|
|
},
|
||
|
|
{ path: "admin-tax", component: AdminTax, empAccess: "Tax" },
|
||
|
|
{
|
||
|
|
path: "application-image",
|
||
|
|
component: ApplicationImageForm,
|
||
|
|
empAccess: "Application Image",
|
||
|
|
},
|
||
|
|
{ path: "carousel", component: CarouselForm, empAccess: "Carousel" },
|
||
|
|
{ path: "currency", component: CurrencyForm, empAccess: "Currency" },
|
||
|
|
{
|
||
|
|
path: "payment-data",
|
||
|
|
component: CustomPaymentGateway,
|
||
|
|
empAccess: "Payment Data",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-method",
|
||
|
|
component: PaymentMethod,
|
||
|
|
empAccess: "Payment Method",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "payment-details",
|
||
|
|
component: PaymentDetail,
|
||
|
|
empAccess: "Payment Details",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "reffered-employee",
|
||
|
|
component: RefferedEmployeelist,
|
||
|
|
empAccess: "Employee Referrer",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "activationkey-generation",
|
||
|
|
component: ActivationkeyGeneration,
|
||
|
|
empAccess: "Activationkey Generation",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "demo-requests",
|
||
|
|
component: DemoRequestsList,
|
||
|
|
empAccess: "Demo Requests",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "gateway-master-configuration/new",
|
||
|
|
component: (props) => (
|
||
|
|
<GatewayMasterConfiguration {...props} formType="add" />
|
||
|
|
),
|
||
|
|
empAccess: "Gateway Master Configuration",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "gateway-master-configuration/update",
|
||
|
|
component: (props) => (
|
||
|
|
<GatewayMasterConfiguration {...props} formType="edit" />
|
||
|
|
),
|
||
|
|
empAccess: "Gateway Master Configuration",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "gateway-master-configuration/list",
|
||
|
|
component: GatewayMasterConfigurationList,
|
||
|
|
empAccess: "Gateway Master Configuration",
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
];
|