From db42ddf2db1b2d70d452259b311ff0b1392cbdce Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 17 Dec 2019 18:26:28 +0000 Subject: [PATCH] --- ayanova/src/App.vue | 2 +- ayanova/src/api/initialize.js | 29 +++++++++++++++++++++++++++++ ayanova/src/api/locale.js | 2 ++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue index 3a5c893c..9883adce 100644 --- a/ayanova/src/App.vue +++ b/ayanova/src/App.vue @@ -7,7 +7,7 @@ v-if="isAuthenticated" v-model="drawer" app - width="300" + width="350" > diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 4c51c3cc..bf4ca9ba 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -204,6 +204,35 @@ export default function initialize() { key: key++ }); + //PM GROUP SUBITEMS + subSub = []; + //PM LIST + subSub.push({ + title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"), + icon: "business-time", + route: "/pmlist", + key: key++ + }); + + //PM TEMPLATES LIST + subSub.push({ + title: window.$gz.locale.get( + "WorkorderPreventiveMaintenanceTemplate" + ), + icon: "stamp", + route: "/pmtemplates", + key: key++ + }); + + //PM GROUP + sub.push({ + title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"), + icon: "business-time", + route: undefined, + navItems: subSub, + key: key++ + }); + //Service (TOP GROUP) addNavItem( window.$gz.locale.get("Service"), diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index b6f804ae..a7ac830a 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -62,6 +62,8 @@ export default { "WorkorderServiceTemplate", "WorkorderQuoteList", "WorkorderQuoteTemplate", + "WorkorderPreventiveMaintenanceList", + "WorkorderPreventiveMaintenanceTemplate", //"Dispatch", "Inventory", "Accounting",