diff --git a/ayanova/src/api/ayatype.js b/ayanova/src/api/ayatype.js index 47e34dbf..28e99860 100644 --- a/ayanova/src/api/ayatype.js +++ b/ayanova/src/api/ayatype.js @@ -99,7 +99,8 @@ export default { ServiceRate: 62, TravelRate: 63, TaxCode: 64, - PartAssembly: 65 + PartAssembly: 65, + PartWarehouse: 66 }; /** * diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 27fa171d..90d4be17 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -425,7 +425,6 @@ function initNavPanel() { //NOTE: V7 HAD PORECEIPTITEMS, THAT MAY BE AN ANACHRONISM NOW SO NOT PUTTING HERE - //NOTE: Warehouses? Shouldn't they be here as well?? //ADJUSTMENTS sub.push({ @@ -434,6 +433,14 @@ function initNavPanel() { route: "/inv-adjustments", key: key++ }); + + //WAREHOUSES + sub.push({ + title: "PartWarehouseList", + icon: "$ayiWarehouse", + route: "/inv-warehouses", + key: key++ + }); } //**** INVENTORY (TOP GROUP) diff --git a/ayanova/src/api/open-object-handler.js b/ayanova/src/api/open-object-handler.js index 021ff4c0..e60b6613 100644 --- a/ayanova/src/api/open-object-handler.js +++ b/ayanova/src/api/open-object-handler.js @@ -243,6 +243,12 @@ export default { params: { recordid: tid.id } }); break; + case ayatype.PartWarehouse: + vm.$router.push({ + name: "part-warehouse", + params: { recordid: tid.id } + }); + break; case ayatype.PartAssembly: vm.$router.push({ name: "part-assembly-edit", diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index 029238db..87bce0b5 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -157,6 +157,7 @@ export default { "InventoryPurchaseOrders", "InventoryPurchaseOrderReceipts", "InventoryPartInventoryAdjustments", + "PartWarehouseList", "WidgetList", "VendorList", "AdministrationGlobalSettings", diff --git a/ayanova/src/plugins/vuetify.js b/ayanova/src/plugins/vuetify.js index 11286328..5044c99f 100644 --- a/ayanova/src/plugins/vuetify.js +++ b/ayanova/src/plugins/vuetify.js @@ -183,6 +183,7 @@ import { faUsers, faUserTie, faVial, + faWarehouse, faWeight, faWrench } from "@fortawesome/free-solid-svg-icons"; @@ -355,6 +356,7 @@ library.add( faUsers, faUserTie, faVial, + faWarehouse, faWeight, faWrench ); @@ -1290,6 +1292,12 @@ const CUSTOM_ICONS = { icon: ["fas", "vial"] } }, + ayiWarehouse: { + component: FontAwesomeIcon, + props: { + icon: ["fas", "warehouse"] + } + }, ayiWeight: { component: FontAwesomeIcon, props: { diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 68e9f60b..04268210 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -395,6 +395,18 @@ export default new Router({ component: () => import(/* webpackChunkName: "inv" */ "./views/inv-part.vue") }, + { + path: "/inv-warehouses", + name: "inv-warehouses", + component: () => + import(/* webpackChunkName: "inv" */ "./views/inv-warehouses.vue") + }, + { + path: "/inv-warehouses/:recordid", + name: "inv-warehouse", + component: () => + import(/* webpackChunkName: "inv" */ "./views/inv-warehouse.vue") + }, { path: "/inv-part-serials/:recordid", name: "inv-part-serials", diff --git a/ayanova/src/views/inv-warehouse.vue b/ayanova/src/views/inv-warehouse.vue new file mode 100644 index 00000000..eca73b91 --- /dev/null +++ b/ayanova/src/views/inv-warehouse.vue @@ -0,0 +1,733 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ayanova/src/views/inv-warehouses.vue b/ayanova/src/views/inv-warehouses.vue new file mode 100644 index 00000000..70a44b92 --- /dev/null +++ b/ayanova/src/views/inv-warehouses.vue @@ -0,0 +1,171 @@ + + + + + + + + + + +