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",