This commit is contained in:
@@ -134,24 +134,6 @@ export default function initialize() {
|
||||
subSub = [];
|
||||
sub = [];
|
||||
|
||||
/**
|
||||
*
|
||||
* - WORKORDERS (was "service" in v7, now all "service" workorders are just workorders)
|
||||
- ALL LEVELS
|
||||
- NOTE: Either all levels still in menu at left here or somehow at right in separate boxes maybe, I like the idea of the in menu better with single right pane for simplicity
|
||||
- TEMPLATES
|
||||
- QUOTES
|
||||
- See "Workorders" above same layout
|
||||
- PREVENTIVE MAINTENANCE
|
||||
- See "Workorders" above same layout
|
||||
- UNITS
|
||||
- UNIT MODELS
|
||||
- CONTRACTS
|
||||
- CUSTOMER SERVICE REQUESTS
|
||||
- LOANERS (not 100% certain about this location for this item)
|
||||
- SCHEDULE (all users not just current one)
|
||||
*/
|
||||
|
||||
//SCHEDULE (combined)
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Schedule"),
|
||||
@@ -291,6 +273,93 @@ 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 = [];
|
||||
sub = [];
|
||||
|
||||
//PARTS (part list)
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("PartList"),
|
||||
icon: "cubes",
|
||||
route: "/parts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//INVENTORY
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("PartByWarehouseInventoryList"),
|
||||
icon: "pallet",
|
||||
route: "/partinventory",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//PART REQUESTS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("WorkorderItemPartRequestList"),
|
||||
icon: undefined,
|
||||
route: "/partrequests",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//PURCHASE ORDERS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Schedule"),
|
||||
icon: "calendar-alt",
|
||||
route: "/schedule/all",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//NOTE: V7 HAD POITEMS, THAT MAY BE AN ANACHRONISM NOW SO NOT PUTTING HERE
|
||||
|
||||
//PURCHASE ORDER RECEIPTS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Schedule"),
|
||||
icon: "calendar-alt",
|
||||
route: "/schedule/all",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//NOTE: V7 HAD PORECEIPTITEMS, THAT MAY BE AN ANACHRONISM NOW SO NOT PUTTING HERE
|
||||
|
||||
//ADJUSTMENTS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Schedule"),
|
||||
icon: "calendar-alt",
|
||||
route: "/schedule/all",
|
||||
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",
|
||||
undefined,
|
||||
sub,
|
||||
key++
|
||||
);
|
||||
|
||||
//NOTE: If a user has read full record or better then they should have access to that area
|
||||
|
||||
// if (
|
||||
|
||||
@@ -69,6 +69,9 @@ export default {
|
||||
"ContractList",
|
||||
"ClientServiceRequestList",
|
||||
"LoanItemList",
|
||||
"PartList",
|
||||
"PartByWarehouseInventoryList",
|
||||
"WorkorderItemPartRequestList",
|
||||
//"Dispatch",
|
||||
"Inventory",
|
||||
"Accounting",
|
||||
|
||||
Reference in New Issue
Block a user