multipleorders

This commit is contained in:
joshikannan
2024-04-24 11:17:02 +05:30
parent 5f395cf329
commit 34750df45d
3 changed files with 31 additions and 0 deletions

View File

@@ -171,6 +171,25 @@ const HeaderContent = () => {
}
/>
</ListItemButton>
<ListItemButton
selected={location.pathname === '/orders/create'}
onClick={() => {
// console.log(const location = useLocation();)
navigate('/orders/createorders');
handleClickAway();
}}
>
<ListItemText
primary={
<Grid container>
<ListItemIcon sx={{ mr: 1, fontSize: '20px' }}>
<MailOutlined />
</ListItemIcon>
<Typography color="textPrimary">Create Multiple Order</Typography>
</Grid>
}
/>
</ListItemButton>
{/* <ListItemButton
selected={location.pathname === '/clients/create'}
onClick={() => {

View File

@@ -0,0 +1,7 @@
import React from 'react';
const MultipleOrders = () => {
return <div>MultipleOrders</div>;
};
export default MultipleOrders;

View File

@@ -28,6 +28,7 @@ const Accountsettings = Loadable(lazy(() => import('pages/nearle/accountsettings
const Createclient = Loadable(lazy(() => import('pages/nearle/clients/createCustomer')));
const Createorder1 = Loadable(lazy(() => import('pages/nearle/orders/createorder1')));
const MultipleOrders = Loadable(lazy(() => import('pages/nearle/orders/multipleOrders')));
const OrdersDetails = Loadable(lazy(() => import('pages/nearle/reports/ordersDetails')));
@@ -79,6 +80,10 @@ const MainRoutes = {
path: 'orders/create',
element: <Createorder1 />
},
{
path: 'orders/createorders',
element: <MultipleOrders />
},
{
path: 'orders/details',
element: <Details />