diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index d2b43bd5..7b1a0af8 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -273,17 +273,6 @@ export default function initialize() { key++ ); - //- INVENTORY - // - PARTS (part list) - // - INVENTORY - // - PART REQUESTS - // - PURCHASE ORDERS - // - PO ITEMS (WEIRD) - // - PO RECEIPTS - // - PO RECEIPT ITEMS (ALSO WEIRD) - // - ADJUSTMENTS - // - WIDGETS (for testing purposes) - //****************** INVENTORY //clear sublevel arrays subSub = []; @@ -359,6 +348,37 @@ export default function initialize() { key++ ); + //**** VENDORS (TOP GROUP) + addNavItem( + window.$gz.locale.get("VendorList"), + "store", + "/vendors", + [], + key++ + ); + + //****************** ACCOUNTING + //clear sublevel arrays + subSub = []; + sub = []; + + //FAKE subitem as is still TBD + sub.push({ + title: window.$gz.locale.get("Accounting"), + icon: "file-invoice-dollar", + route: "/accounting", + key: key++ + }); + + // ** CUSTOMER (TOP) + addNavItem( + window.$gz.locale.get("Accounting"), + "file-invoice-dollar", + undefined, + sub, + 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 cde0191a..c8869a1e 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -76,6 +76,7 @@ export default { "InventoryPurchaseOrderReceipts", "InventoryPartInventoryAdjustments", "WidgetList", + "VendorList", //"Dispatch", "Inventory", "Accounting",