multipleorders
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
7
src/pages/nearle/orders/multipleOrders.js
Normal file
7
src/pages/nearle/orders/multipleOrders.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
const MultipleOrders = () => {
|
||||
return <div>MultipleOrders</div>;
|
||||
};
|
||||
|
||||
export default MultipleOrders;
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user