diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index 0e27eeade..7acc2043d 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -1235,6 +1235,10 @@ zone:
zonesList: Zones
deliveryList: Delivery days
upcomingList: Upcoming deliveries
+monitor:
+ pageTitles:
+ monitors: Monitors
+ salesMonitor: Sales monitor
components:
topbar: {}
itemsFilterPanel:
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index bc246a6cb..6e466f483 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -1234,6 +1234,10 @@ zone:
zonesList: Zonas
deliveryList: Días de entrega
upcomingList: Próximos repartos
+monitors:
+ pageTitles:
+ monitors: Monitores
+ salesMonitor: Monitor de ventas
components:
topbar: {}
itemsFilterPanel:
diff --git a/src/pages/Monitor/MonitorMain.vue b/src/pages/Monitor/MonitorMain.vue
new file mode 100644
index 000000000..c1f2a31db
--- /dev/null
+++ b/src/pages/Monitor/MonitorMain.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/Monitor/SalesMonitor.vue b/src/pages/Monitor/SalesMonitor.vue
new file mode 100644
index 000000000..842474545
--- /dev/null
+++ b/src/pages/Monitor/SalesMonitor.vue
@@ -0,0 +1,270 @@
+
+
+
+ (itemTypesOptions = data)"
+ />
+ (itemCategoriesOptions = data)"
+ />
+ (intrastatOptions = data)"
+ />
+ (originsOptions = data)"
+ />
+ (buyersOptions = data)"
+ />
+
+
+
+
+
+
+
+
+
+
+ redirectToItemSummary(row.id)"
+ >
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/modules/index.js b/src/router/modules/index.js
index 7fff2f2e5..38bcd54d5 100644
--- a/src/router/modules/index.js
+++ b/src/router/modules/index.js
@@ -18,6 +18,7 @@ import Parking from './parking';
import Agency from './agency';
import ItemType from './itemType';
import Zone from './zone';
+import Monitor from './monitor';
export default [
Item,
@@ -40,4 +41,5 @@ export default [
Agency,
ItemType,
Zone,
+ Monitor,
];
diff --git a/src/router/modules/monitor.js b/src/router/modules/monitor.js
new file mode 100644
index 000000000..0ce6e153b
--- /dev/null
+++ b/src/router/modules/monitor.js
@@ -0,0 +1,42 @@
+import { RouterView } from 'vue-router';
+
+export default {
+ path: '/monitor',
+ name: 'Monitor',
+ meta: {
+ title: 'monitors',
+ icon: 'vn:grid',
+ moduleName: 'Monitor',
+ },
+ component: RouterView,
+ redirect: { name: 'MonitorMain' },
+ menus: {
+ main: ['SalesMonitor'],
+ card: [],
+ },
+ children: [
+ {
+ path: '',
+ name: 'MonitorMain',
+ component: () => import('src/pages/Monitor/MonitorMain.vue'),
+ redirect: { name: 'SalesMonitor' },
+ children: [
+ {
+ path: 'index',
+ name: 'SalesMonitor',
+ meta: {
+ title: 'salesMonitor',
+ icon: 'vn:grid',
+ },
+ component: () => import('src/pages/Monitor/SalesMonitor.vue'),
+ },
+ ],
+ },
+ // {
+ // name: 'ItemCard',
+ // path: ':id',
+ // component: () => import('src/pages/Item/Card/ItemCard.vue'),
+ // children: [],
+ // },
+ ],
+};
diff --git a/src/router/routes.js b/src/router/routes.js
index 04780ee17..6a0430d51 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -18,6 +18,7 @@ import roadmap from 'src/router/modules/roadmap';
import parking from 'src/router/modules/parking';
import agency from 'src/router/modules/agency';
import zone from 'src/router/modules/zone';
+import monitor from 'src/router/modules/monitor';
const routes = [
{
@@ -65,6 +66,7 @@ const routes = [
shelving,
invoiceOut,
invoiceIn,
+ monitor,
wagon,
order,
route,
diff --git a/src/stores/useNavigationStore.js b/src/stores/useNavigationStore.js
index ee1e04e9b..263a9dec8 100644
--- a/src/stores/useNavigationStore.js
+++ b/src/stores/useNavigationStore.js
@@ -15,6 +15,7 @@ export const useNavigationStore = defineStore('navigationStore', () => {
'travel',
'invoiceOut',
'invoiceIn',
+ 'monitor',
'supplier',
'claim',
'route',
@@ -31,7 +32,6 @@ export const useNavigationStore = defineStore('navigationStore', () => {
for (const module of modules) {
const moduleDef = routes.find((route) => toLowerCamel(route.name) === module);
if (!moduleDef) continue;
-
const item = addMenuItem(module, moduleDef, modulesRoutes.value);
if (!item) continue;