This commit is contained in:
@@ -23,7 +23,6 @@ export default function initialize() {
|
||||
//put nav items into store
|
||||
var key = 0;
|
||||
var sub = [];
|
||||
var subSub = [];
|
||||
|
||||
//****************** HOME
|
||||
|
||||
@@ -63,10 +62,8 @@ export default function initialize() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
//3rd level items under preferences
|
||||
|
||||
//LOCALE
|
||||
subSub.push({
|
||||
//USER LOCALE
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Locale"),
|
||||
icon: "language",
|
||||
route: "/home-locale",
|
||||
@@ -74,30 +71,21 @@ export default function initialize() {
|
||||
});
|
||||
|
||||
//SET LOGIN
|
||||
subSub.push({
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("SetLoginPassword"),
|
||||
icon: "key",
|
||||
route: "/home-password",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//NOTIFICATION SUBSCRIPTIONS
|
||||
subSub.push({
|
||||
//USER NOTIFICATION SUBSCRIPTIONS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("NotifySubscriptionList"),
|
||||
icon: "bullhorn",
|
||||
route: "/home-notify-subscriptions",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//USER PREFERENCES (personal)
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UserPreferences"),
|
||||
icon: "user-cog",
|
||||
route: undefined,
|
||||
navItems: subSub,
|
||||
key: key++
|
||||
});
|
||||
|
||||
//HOME
|
||||
addNavItem(
|
||||
window.$gz.locale.get("Home"),
|
||||
@@ -108,8 +96,7 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** CUSTOMERS
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
//CUSTOMERS subitem
|
||||
@@ -138,8 +125,7 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** SERVICE
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
//SCHEDULE (combined)
|
||||
@@ -150,7 +136,6 @@ export default function initialize() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
|
||||
//WORKORDERS LIST (was service workorders)
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("WorkorderServiceList"),
|
||||
@@ -161,6 +146,7 @@ export default function initialize() {
|
||||
|
||||
// //WORKORDER TEMPLATES LIST
|
||||
//this will be an item inside the workorders NEW menu or grid or wherever but it's not top level worthy
|
||||
//there used to be an array for 3rd level shit but that's whack yo! ;)
|
||||
// subSub.push({
|
||||
// title: window.$gz.locale.get("WorkorderServiceTemplate"),
|
||||
// icon: "stamp",
|
||||
@@ -168,16 +154,6 @@ export default function initialize() {
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
// //WORKORDERS GROUP
|
||||
// sub.push({
|
||||
// title: window.$gz.locale.get("WorkorderServiceList"),
|
||||
// icon: "tools",
|
||||
// route: undefined,
|
||||
// navItems: subSub,
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
|
||||
//QUOTE LIST
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("WorkorderQuoteList"),
|
||||
@@ -186,25 +162,6 @@ export default function initialize() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
// //QUOTE TEMPLATES LIST
|
||||
// subSub.push({
|
||||
// title: window.$gz.locale.get("WorkorderQuoteTemplate"),
|
||||
// icon: "stamp",
|
||||
// route: "/svc-quote-templates",
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
// //QUOTE GROUP
|
||||
// sub.push({
|
||||
// title: window.$gz.locale.get("WorkorderQuoteList"),
|
||||
// icon: "edit",
|
||||
// route: undefined,
|
||||
// navItems: subSub,
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
//PM GROUP SUBITEMS
|
||||
//subSub = [];
|
||||
//PM LIST
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
|
||||
@@ -213,25 +170,6 @@ export default function initialize() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
// //PM TEMPLATES LIST
|
||||
// subSub.push({
|
||||
// title: window.$gz.locale.get(
|
||||
// "WorkorderPreventiveMaintenanceTemplate"
|
||||
// ),
|
||||
// icon: "stamp",
|
||||
// route: "/svc-pm-templates",
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
// //PM GROUP
|
||||
// sub.push({
|
||||
// title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
|
||||
// icon: "business-time",
|
||||
// route: undefined,
|
||||
// navItems: subSub,
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
//UNITS subitem
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitList"),
|
||||
@@ -282,8 +220,7 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** INVENTORY
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
//PARTS (part list)
|
||||
@@ -357,8 +294,7 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** ACCOUNTING
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
|
||||
sub = [];
|
||||
|
||||
//FAKE subitem as is still TBD
|
||||
@@ -379,8 +315,7 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** ADMINISTRATION
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
// GLOBAL SETTINGS
|
||||
@@ -459,8 +394,7 @@ export default function initialize() {
|
||||
);
|
||||
|
||||
//****************** OPERATIONS
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
//clear sublevel array
|
||||
sub = [];
|
||||
|
||||
// ARCHIVE
|
||||
|
||||
Reference in New Issue
Block a user