From ef2c8a87b616562a48c6e469b5a57a0e8fbbf6d5 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 17 Dec 2019 19:47:08 +0000 Subject: [PATCH] --- ayanova/src/api/initialize.js | 41 +++++++++++++++++------------------ ayanova/src/api/locale.js | 4 ++++ 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 737e5d0a..d2b43bd5 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -315,9 +315,9 @@ export default function initialize() { //PURCHASE ORDERS sub.push({ - title: window.$gz.locale.get("Schedule"), - icon: "calendar-alt", - route: "/schedule/all", + title: window.$gz.locale.get("InventoryPurchaseOrders"), + icon: "boxes", + route: "/pos", key: key++ }); @@ -325,9 +325,9 @@ export default function initialize() { //PURCHASE ORDER RECEIPTS sub.push({ - title: window.$gz.locale.get("Schedule"), - icon: "calendar-alt", - route: "/schedule/all", + title: window.$gz.locale.get("InventoryPurchaseOrderReceipts"), + icon: "dolly-flatbed", + route: "/poreceipts", key: key++ }); @@ -335,31 +335,30 @@ export default function initialize() { //ADJUSTMENTS sub.push({ - title: window.$gz.locale.get("Schedule"), - icon: "calendar-alt", - route: "/schedule/all", + title: window.$gz.locale.get("InventoryPartInventoryAdjustments"), + icon: "dolly", + route: "/adjustments", key: key++ }); - //WIDGETS - sub.push({ - title: window.$gz.locale.get("Schedule"), - icon: "calendar-alt", - route: "/schedule/all", - key: key++ - }); - - - //**** INVENTORY (TOP GROUP) addNavItem( - window.$gz.locale.get("Service"), - "toolbox", + window.$gz.locale.get("Inventory"), + "box", undefined, sub, key++ ); + //**** WIDGETS (TOP GROUP) + addNavItem( + window.$gz.locale.get("WidgetList"), + "splotch", + "/inventory", + [], + key++ + ); + //NOTE: If a user has read full record or better then they should have access to that area // if ( diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index 2996f009..cde0191a 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -72,6 +72,10 @@ export default { "PartList", "PartByWarehouseInventoryList", "WorkorderItemPartRequestList", + "InventoryPurchaseOrders", + "InventoryPurchaseOrderReceipts", + "InventoryPartInventoryAdjustments", + "WidgetList", //"Dispatch", "Inventory", "Accounting",