This commit is contained in:
@@ -273,17 +273,6 @@ export default function initialize() {
|
|||||||
key++
|
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
|
//****************** INVENTORY
|
||||||
//clear sublevel arrays
|
//clear sublevel arrays
|
||||||
subSub = [];
|
subSub = [];
|
||||||
@@ -359,6 +348,37 @@ export default function initialize() {
|
|||||||
key++
|
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
|
//NOTE: If a user has read full record or better then they should have access to that area
|
||||||
|
|
||||||
// if (
|
// if (
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ export default {
|
|||||||
"InventoryPurchaseOrderReceipts",
|
"InventoryPurchaseOrderReceipts",
|
||||||
"InventoryPartInventoryAdjustments",
|
"InventoryPartInventoryAdjustments",
|
||||||
"WidgetList",
|
"WidgetList",
|
||||||
|
"VendorList",
|
||||||
//"Dispatch",
|
//"Dispatch",
|
||||||
"Inventory",
|
"Inventory",
|
||||||
"Accounting",
|
"Accounting",
|
||||||
|
|||||||
Reference in New Issue
Block a user