diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index bea1171a..a03c563e 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -305,7 +305,7 @@ export default function initialize() { //PART REQUESTS sub.push({ title: window.$gz.locale.get("WorkorderItemPartRequestList"), - icon: undefined, + icon: "paper-plane", route: "/partrequests", key: key++ }); @@ -351,7 +351,7 @@ export default function initialize() { addNavItem( window.$gz.locale.get("WidgetList"), "splotch", - "/inventory", + "/testinventory", [], key++ ); diff --git a/ayanova/src/router.js b/ayanova/src/router.js index baa48dea..1510907d 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -214,7 +214,92 @@ export default new Router({ component: () => import(/* webpackChunkName: "inventory" */ "./views/part-request-list.vue") } + + , + { + path: "/polist", + name: "polist", + component: () => + import(/* webpackChunkName: "inventory" */ "./views/po-list.vue") + } + , + { + path: "/poreceipts", + name: "poreceipts", + component: () => + import(/* webpackChunkName: "inventory" */ "./views/po-receipt-list.vue") + } + + , + { + path: "/adjustments", + name: "adjustments", + component: () => + import(/* webpackChunkName: "inventory" */ "./views/inventory-adjustments.vue") + }, + + {//TEST WIDGETS + path: "/testinventory", + name: "testinventory", + component: () => + import(/* webpackChunkName: "test" */ "./views/test-inventory.vue") + } + + , + { + path: "/vendors", + name: "vendors", + component: () => + import(/* webpackChunkName: "vendors" */ "./views/vendors.vue") + } + + , + { + path: "/accounting", + name: "accounting", + component: () => + import(/* webpackChunkName: "vendors" */ "./views/accounting.vue") + } + , + { + path: "/globalsettings", + name: "globalsettings", + component: () => + import(/* webpackChunkName: "administration" */ "./views/global-settings.vue") + } + , + { + path: "/license", + name: "license", + component: () => + import(/* webpackChunkName: "administration" */ "./views/license.vue") + } + + , + { + path: "/users", + name: "users", + component: () => + import(/* webpackChunkName: "administration" */ "./views/users.vue") + } + + , + { + path: "/locales", + name: "locales", + component: () => + import(/* webpackChunkName: "administration" */ "./views/locales.vue") + } + + , + { + path: "/reports", + name: "reports", + component: () => + import(/* webpackChunkName: "administration" */ "./views/reports.vue") + } + @@ -228,7 +313,56 @@ export default new Router({ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , @@ -252,12 +386,7 @@ export default new Router({ - { - path: "/inventory", - name: "inventory", - component: () => - import(/* webpackChunkName: "inventory" */ "./views/inventory.vue") - }, + { path: "/inventory/widget/edit/:id", name: "inventory-widget-edit", diff --git a/ayanova/src/views/accounting.vue b/ayanova/src/views/accounting.vue index d42882d6..5846c3c8 100644 --- a/ayanova/src/views/accounting.vue +++ b/ayanova/src/views/accounting.vue @@ -12,7 +12,7 @@ export default { beforeCreate() { window.$gz.eventBus.$emit("menu-change", { isMain: true, - icon: "fa-file-invoice-dollar", + icon: "file-invoice-dollar", title: window.$gz.locale.get("Accounting"), helpUrl: "user-form-accounting" }); diff --git a/ayanova/src/views/global-settings.vue b/ayanova/src/views/global-settings.vue new file mode 100644 index 00000000..e238a894 --- /dev/null +++ b/ayanova/src/views/global-settings.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/inventory-adjustments.vue b/ayanova/src/views/inventory-adjustments.vue new file mode 100644 index 00000000..b210364b --- /dev/null +++ b/ayanova/src/views/inventory-adjustments.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/license.vue b/ayanova/src/views/license.vue new file mode 100644 index 00000000..e81aff45 --- /dev/null +++ b/ayanova/src/views/license.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/locales.vue b/ayanova/src/views/locales.vue new file mode 100644 index 00000000..3d4e777b --- /dev/null +++ b/ayanova/src/views/locales.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/part-request-list.vue b/ayanova/src/views/part-request-list.vue index 480c6389..fd19ef5e 100644 --- a/ayanova/src/views/part-request-list.vue +++ b/ayanova/src/views/part-request-list.vue @@ -12,9 +12,9 @@ export default { beforeCreate() { window.$gz.eventBus.$emit("menu-change", { isMain: true, - icon: "pallet", - title: window.$gz.locale.get("PartByWarehouseInventoryList"), - helpUrl: "user-form-part-inventory-list" + icon: "paper-plane", + title: window.$gz.locale.get("WorkorderItemPartRequestList"), + helpUrl: "user-form-part-request-list" }); } }; diff --git a/ayanova/src/views/po-list.vue b/ayanova/src/views/po-list.vue new file mode 100644 index 00000000..b61ccc85 --- /dev/null +++ b/ayanova/src/views/po-list.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/po-receipt-list.vue b/ayanova/src/views/po-receipt-list.vue new file mode 100644 index 00000000..4b885674 --- /dev/null +++ b/ayanova/src/views/po-receipt-list.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/reports.vue b/ayanova/src/views/reports.vue new file mode 100644 index 00000000..f3df2c15 --- /dev/null +++ b/ayanova/src/views/reports.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/inventory.vue b/ayanova/src/views/test-inventory.vue similarity index 100% rename from ayanova/src/views/inventory.vue rename to ayanova/src/views/test-inventory.vue diff --git a/ayanova/src/views/vendors.vue b/ayanova/src/views/vendors.vue new file mode 100644 index 00000000..4fe287a5 --- /dev/null +++ b/ayanova/src/views/vendors.vue @@ -0,0 +1,21 @@ + + +