Added Settlement Component

This commit is contained in:
Srinath 2026-03-25 09:25:35 +05:30
parent f99e938cbc
commit 8af8641649
1 changed files with 18 additions and 9 deletions

View File

@ -552,6 +552,9 @@ const TipAmountSettlementList = lazy(
const EmployeeSettlement = lazy( const EmployeeSettlement = lazy(
() => import('./Pages/Reports/EmployeeSettlement/EmployeeSettlement.jsx') () => import('./Pages/Reports/EmployeeSettlement/EmployeeSettlement.jsx')
); );
const Settlement = lazy(
() => import ('./Pages/Reports/TipAmountSettlement/Settlement.jsx')
);
const PublicQrCode = lazy(() => import('./Pages/Reports/PublicQrCode.jsx')); const PublicQrCode = lazy(() => import('./Pages/Reports/PublicQrCode.jsx'));
const TableMapping = lazy( const TableMapping = lazy(
@ -684,7 +687,7 @@ const initSession = () => {
sessionStorage.setItem( sessionStorage.setItem(
'auth', 'auth',
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiODA3MjMyOTE1MyIsIlBhc3N3b3JkIjoiWkB6MTIzNCIsImF1ZCI6WyJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTIiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTQiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiXSwiZXhwIjoxNzczNDI3NTExLCJpc3MiOiJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMDEifQ.Elg8MMqbF4nMYwcWgzrxVaLfYhxdx3drixoV83RbuAM' 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiODA3MjMyOTE1MyIsIlBhc3N3b3JkIjoiWkB6MTIzNCIsImF1ZCI6WyJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTIiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTQiLCJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMTMiXSwiZXhwIjoxNzc0Mzc5NTY2LCJpc3MiOiJodHRwOi8vMTkyLjE2OC4xLjM3OjgwMDEifQ.uTdcz-FHE4GTux7FTtT2pQt9gEe-17_mIrwJWbHdHE8'
); );
}; };
@ -865,16 +868,22 @@ export const routesConfig = [
component: MenuQRCode, component: MenuQRCode,
empAccess: 'MenuQRCode', empAccess: 'MenuQRCode',
}, },
// {
// path: 'tipamountsettlementlist',
// component: TipAmountSettlementList,
// empAccess: 'Tips',
// },
// {
// path: 'EmployeeSettlement',
// component: EmployeeSettlement,
// empAccess: 'Incentive',
// },
{ {
path: 'tipamountsettlementlist', path: 'Settlement',
component: TipAmountSettlementList, component: Settlement,
empAccess: 'Tips', empAccess: 'Settlement',
},
{
path: 'EmployeeSettlement',
component: EmployeeSettlement,
empAccess: 'Incentive',
}, },
{ {
path: 'datewisereport', path: 'datewisereport',
component: DateWiseReport, component: DateWiseReport,