This commit is contained in:
2019-12-27 20:19:04 +00:00
parent a5fc23c55d
commit 4016df08bb
5 changed files with 61 additions and 74 deletions

View File

@@ -150,87 +150,87 @@ export default function initialize() {
key: key++
});
//WORKORDERS GROUP SUBITEMS
//WORKORDERS LIST (was service workorders)
subSub.push({
sub.push({
title: window.$gz.locale.get("WorkorderServiceList"),
icon: "tools",
route: "/svc-workorders",
key: key++
});
//WORKORDER TEMPLATES LIST
subSub.push({
title: window.$gz.locale.get("WorkorderServiceTemplate"),
icon: "stamp",
route: "/svc-workorder-templates",
key: key++
});
// //WORKORDER TEMPLATES LIST
//this will be an item inside the workorders NEW menu or grid or wherever but it's not top level worthy
// subSub.push({
// title: window.$gz.locale.get("WorkorderServiceTemplate"),
// icon: "stamp",
// route: "/svc-workorder-templates",
// key: key++
// });
//WORKORDERS GROUP
sub.push({
title: window.$gz.locale.get("WorkorderServiceList"),
icon: "tools",
route: undefined,
navItems: subSub,
key: key++
});
// //WORKORDERS GROUP
// sub.push({
// title: window.$gz.locale.get("WorkorderServiceList"),
// icon: "tools",
// route: undefined,
// navItems: subSub,
// key: key++
// });
//QUOTE GROUP SUBITEMS
subSub = [];
//QUOTE LIST
subSub.push({
sub.push({
title: window.$gz.locale.get("WorkorderQuoteList"),
icon: "edit",
route: "/svc-quotes",
key: key++
});
//QUOTE TEMPLATES LIST
subSub.push({
title: window.$gz.locale.get("WorkorderQuoteTemplate"),
icon: "stamp",
route: "/svc-quote-templates",
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++
});
// //QUOTE GROUP
// sub.push({
// title: window.$gz.locale.get("WorkorderQuoteList"),
// icon: "edit",
// route: undefined,
// navItems: subSub,
// key: key++
// });
//PM GROUP SUBITEMS
subSub = [];
//subSub = [];
//PM LIST
subSub.push({
sub.push({
title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
icon: "business-time",
route: "/svc-pm-list",
key: key++
});
//PM TEMPLATES LIST
subSub.push({
title: window.$gz.locale.get(
"WorkorderPreventiveMaintenanceTemplate"
),
icon: "stamp",
route: "/svc-pm-templates",
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++
});
// //PM GROUP
// sub.push({
// title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
// icon: "business-time",
// route: undefined,
// navItems: subSub,
// key: key++
// });
//UNITS subitem
sub.push({