Update src/routesConfig.jsx
This commit is contained in:
parent
44b169bcd8
commit
506b766619
|
|
@ -267,7 +267,7 @@ const fetchComponent = async () => {
|
|||
sessionStore('userName', 'Karthiga');
|
||||
sessionStorage.setItem(
|
||||
'auth',
|
||||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiOTM2MDY0MjI0NCIsIlBhc3N3b3JkIjoiWkB6MTIzNCIsImF1ZCI6WyJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTIiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTQiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiXSwiZXhwIjoxNzY5NTQwNDg2LCJpc3MiOiJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMDEifQ.dk6WOA7_jjKUv94Ni9RjMxHGgZRdpGj2QqXyyQMcFpo'
|
||||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiOTM2MDY0MjI0NCIsIlBhc3N3b3JkIjoiWkB6MTIzNCIsImF1ZCI6WyJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTIiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTQiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiXSwiZXhwIjoxNzY5NzEzMTk3LCJpc3MiOiJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMDEifQ.rm3XOIBsczxaSWg5WWwm0a5xvYOszDzXvL2oJLd1ZYo'
|
||||
);
|
||||
|
||||
const AppId = getSession('AppId');
|
||||
|
|
@ -372,8 +372,9 @@ const fetchHomeComponent = async () => {
|
|||
sessionStore('userName', 'Karthiga');
|
||||
sessionStorage.setItem(
|
||||
'auth',
|
||||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiOTM2MDY0MjI0NCIsIlBhc3N3b3JkIjoiWkB6MTIzNCIsImF1ZCI6WyJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTIiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTQiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiXSwiZXhwIjoxNzY5NTQwNDg2LCJpc3MiOiJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMDEifQ.dk6WOA7_jjKUv94Ni9RjMxHGgZRdpGj2QqXyyQMcFpo'
|
||||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiOTM2MDY0MjI0NCIsIlBhc3N3b3JkIjoiWkB6MTIzNCIsImF1ZCI6WyJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTIiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTQiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiXSwiZXhwIjoxNzY5NzEzMTk3LCJpc3MiOiJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMDEifQ.rm3XOIBsczxaSWg5WWwm0a5xvYOszDzXvL2oJLd1ZYo'
|
||||
);
|
||||
|
||||
const AppId = getSession('AppId');
|
||||
if (AppId) {
|
||||
const response = await axios.get(
|
||||
|
|
@ -717,7 +718,7 @@ export const routesConfig = [
|
|||
{
|
||||
path: 'counter-category-mapping',
|
||||
component: CounterCategoryMappingForm,
|
||||
empAccess: 'Counter Category Mapping',
|
||||
empAccess: 'Counter Mapping',
|
||||
},
|
||||
|
||||
{
|
||||
|
|
@ -872,17 +873,17 @@ export const routesConfig = [
|
|||
{
|
||||
path: 'code-base',
|
||||
component: CodeBaseList,
|
||||
empAccess: 'Code Base',
|
||||
empAccess: 'Code Based',
|
||||
},
|
||||
{
|
||||
path: 'code-base/new',
|
||||
component: (props) => <CodeBase {...props} formType="add" />,
|
||||
empAccess: 'Code Base',
|
||||
empAccess: 'Code Based',
|
||||
},
|
||||
{
|
||||
path: 'code-base/new',
|
||||
component: (props) => <CodeBase {...props} formType="edit" />,
|
||||
empAccess: 'Code Base',
|
||||
empAccess: 'Code Based',
|
||||
},
|
||||
|
||||
{ path: 'item-wise', component: ItemWise, empAccess: 'Item Wise Offer' },
|
||||
|
|
@ -922,17 +923,17 @@ export const routesConfig = [
|
|||
path: 'loyalty-based',
|
||||
// component: LoyaltyBased,
|
||||
component: LoyaltyBasedList,
|
||||
empAccess: 'Loyalty Based',
|
||||
empAccess: 'Loyalty Points',
|
||||
},
|
||||
{
|
||||
path: 'loyalty-based/new',
|
||||
component: (props) => <LoyaltyBased {...props} formType="add" />,
|
||||
empAccess: 'Loyalty Based',
|
||||
empAccess: 'Loyalty Points',
|
||||
},
|
||||
{
|
||||
path: 'loyalty-based/update',
|
||||
component: (props) => <LoyaltyBased {...props} formType="edit" />,
|
||||
empAccess: 'Loyalty Based',
|
||||
empAccess: 'Loyalty Points',
|
||||
},
|
||||
|
||||
{
|
||||
|
|
@ -1080,11 +1081,7 @@ export const routesConfig = [
|
|||
empAccess: 'Product Receipt',
|
||||
},
|
||||
|
||||
{
|
||||
path: 'purchase-order',
|
||||
component: PurchaseOrderList,
|
||||
empAccess: 'Purchase Order',
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path: 'receive-stocks',
|
||||
|
|
@ -1108,6 +1105,11 @@ export const routesConfig = [
|
|||
component: gstInvoiceSetUpList,
|
||||
empAccess: 'Gst Invoice Setup',
|
||||
},
|
||||
{
|
||||
path: 'purchase-order',
|
||||
component: PurchaseOrderList,
|
||||
empAccess: 'Purchase Order',
|
||||
},
|
||||
{
|
||||
path: 'purchase-order/new',
|
||||
component: (props) => <PurchaseOrder {...props} formType="add" />,
|
||||
|
|
@ -1117,7 +1119,7 @@ export const routesConfig = [
|
|||
{
|
||||
path: 'purchase-return/list',
|
||||
component: PurchaseReturnget,
|
||||
empAccess: 'Purchase Return',
|
||||
empAccess: 'Product Return',
|
||||
},
|
||||
{
|
||||
path: 'purchaseconfirm',
|
||||
|
|
@ -1127,7 +1129,7 @@ export const routesConfig = [
|
|||
{
|
||||
path: 'purchase-return',
|
||||
component: PurchaseReturn,
|
||||
empAccess: 'Purchase Return',
|
||||
empAccess: 'Product Return',
|
||||
},
|
||||
//free Products
|
||||
{
|
||||
|
|
@ -1185,6 +1187,11 @@ export const routesConfig = [
|
|||
component: PurchaseQuotationForm,
|
||||
empAccess: 'Sales Quotation',
|
||||
},
|
||||
{
|
||||
path: 'sales-quotation/list',
|
||||
component: PurchaseQuotationList,
|
||||
empAccess: 'Sales Quotation',
|
||||
},
|
||||
{
|
||||
path: 'sales-order',
|
||||
component: SalesOrder,
|
||||
|
|
@ -1214,11 +1221,7 @@ export const routesConfig = [
|
|||
component: DeliveryChallanToInvoiceForm,
|
||||
empAccess: 'DC to Invoice',
|
||||
},
|
||||
{
|
||||
path: 'sales-quotation/list',
|
||||
component: PurchaseQuotationList,
|
||||
empAccess: 'Sales Quotation',
|
||||
},
|
||||
|
||||
|
||||
{ path: 'shift-master', component: ShiftMasterList, empAccess: 'Shift' },
|
||||
{
|
||||
|
|
@ -1323,17 +1326,17 @@ export const routesConfig = [
|
|||
{
|
||||
path: 'combo-master',
|
||||
component: ComboList,
|
||||
empAccess: 'Combo Product',
|
||||
empAccess: 'Add Product',
|
||||
},
|
||||
{
|
||||
path: 'combo-master/new',
|
||||
component: (props) => <ComboMaster {...props} formType="add" />,
|
||||
empAccess: 'Combo Product',
|
||||
empAccess: 'Add Product',
|
||||
},
|
||||
{
|
||||
path: 'combo-master/update',
|
||||
component: (props) => <ComboMaster {...props} formType="edit" />,
|
||||
empAccess: 'Combo Product',
|
||||
empAccess: 'Add Product',
|
||||
},
|
||||
|
||||
{
|
||||
|
|
@ -1442,17 +1445,17 @@ export const routesConfig = [
|
|||
{
|
||||
path: 'sales-bill-cancel',
|
||||
component: SalesBillCancel,
|
||||
empAccess: 'Sales Bill Cancel',
|
||||
empAccess: 'Sales Entry Cancel',
|
||||
},
|
||||
{
|
||||
path: 'sales-bill-product-return/list',
|
||||
component: SalesBillProductsReturnList,
|
||||
empAccess: 'Product Return',
|
||||
empAccess: 'Sales Product Return',
|
||||
},
|
||||
{
|
||||
path: 'sales-bill-product-return',
|
||||
component: SalesBillProductsReturn,
|
||||
empAccess: 'Product Return',
|
||||
empAccess: 'Sales Product Return',
|
||||
},
|
||||
{
|
||||
path: 'booking-reschedule',
|
||||
|
|
@ -1582,7 +1585,7 @@ export const routesConfig = [
|
|||
{
|
||||
path: `barcode-qr-selection`,
|
||||
component: BarcodeTemplateSetup,
|
||||
empAccess: 'Barcode / Qr',
|
||||
empAccess: 'Barcode / QR',
|
||||
},
|
||||
{
|
||||
path: 'kiosk-component',
|
||||
|
|
|
|||
Loading…
Reference in New Issue