This commit is contained in:
2019-12-17 20:24:03 +00:00
parent ef2c8a87b6
commit e19c7a2ab7
2 changed files with 32 additions and 11 deletions

View File

@@ -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 (

View File

@@ -76,6 +76,7 @@ export default {
"InventoryPurchaseOrderReceipts",
"InventoryPartInventoryAdjustments",
"WidgetList",
"VendorList",
//"Dispatch",
"Inventory",
"Accounting",