reports update

This commit is contained in:
joshikannan
2025-11-14 18:42:26 +05:30
parent b27c27a444
commit 12df2e9dc4
15 changed files with 2159 additions and 633 deletions

View File

@@ -1,13 +1,13 @@
// project import
// import nearle from './nearle';
import other from './other';
import nearle from './nearle';
// import other from './other';
// ==============================|| MENU ITEMS ||============================== //
const menuItems = {
items: [
other
// nearle
// other,
nearle
]
};

View File

@@ -4,6 +4,7 @@ import { AiOutlineBarChart } from 'react-icons/ai';
import { AiOutlineDashboard } from 'react-icons/ai';
import { TbListDetails } from 'react-icons/tb';
import { LiaFileInvoiceSolid } from 'react-icons/lia';
import DirectionsBikeOutlinedIcon from '@mui/icons-material/DirectionsBikeOutlined';
// assets
import {
@@ -21,6 +22,7 @@ import {
UserOutlined,
SettingOutlined
} from '@ant-design/icons';
import { Path } from 'leaflet';
// icons
const icons = {
@@ -66,20 +68,41 @@ const nearle = {
type: 'collapse',
icon: AiOutlineBarChart,
children: [
{
id: 'OrderSummary',
title: <FormattedMessage id="OrderSummary" />,
type: 'item',
url: '/nearle/reports/ordersummary',
icon: TbListDetails
},
{
id: 'OrdersDetails',
title: <FormattedMessage id="OrdersDetails" />,
type: 'item',
url: '/nearle/ordersdetails',
icon: TbListDetails
url: '/nearle/reports/ordersdetails',
icon: AiOutlineDashboard
},
{
id: 'RiderSummary',
title: <FormattedMessage id="RiderSummary" />,
type: 'item',
url: '/nearle/reports/ridersummary',
icon: DirectionsBikeOutlinedIcon
}
// {
// id: 'RiderLogs',
// title: <FormattedMessage id="RiderLogs" />,
// type: 'item',
// url: '/nearle/reports/riderlogs',
// icon: DirectionsBikeOutlinedIcon
// }
]
},
{
id: 'invoice',
title: <FormattedMessage id="Invoice" />,
type: 'item',
url: '/nearle/invoice',
url: 'nearle/invoice',
icon: LiaFileInvoiceSolid
}
]

View File

@@ -57,14 +57,14 @@ const other = {
id: 'orders',
title: <FormattedMessage id="Orders" />,
type: 'item',
url: '/orders',
url: 'nearle/orders',
icon: AiOutlineDashboard
},
{
id: 'customers',
title: <FormattedMessage id="Customers" />,
type: 'item',
url: '/customers',
url: 'nearle/customers',
icon: icons.UserOutlined
},
{
@@ -73,12 +73,33 @@ const other = {
type: 'collapse',
icon: AiOutlineBarChart,
children: [
{
id: 'OrderSummary',
title: <FormattedMessage id="OrderSummary" />,
type: 'item',
url: 'reports/ordersummary',
icon: TbListDetails
},
{
id: 'OrdersDetails',
title: <FormattedMessage id="OrdersDetails" />,
type: 'item',
url: 'reports/ordersdetails',
icon: TbListDetails
},
{
id: 'RiderSummary',
title: <FormattedMessage id="RiderSummary" />,
type: 'item',
url: 'reports/ridersummary',
icon: TbListDetails
},
{
id: 'RiderLogs',
title: <FormattedMessage id="RiderLogs" />,
type: 'item',
url: 'reports/riderlogs',
icon: TbListDetails
}
]
},