From 700b9dc76ded8429c454a61cec7ed33ce9ef3d34 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 17 Dec 2019 21:11:33 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 5 ++- ayanova/src/api/initialize.js | 84 +++++++++++++++++++---------------- ayanova/src/api/locale.js | 1 + 3 files changed, 50 insertions(+), 40 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 12cca17c..a430fd68 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -60,6 +60,7 @@ TODO: IMPLEMENT and stub out entire nav layout, don't hae to open actual form, c - case 1974: shootnsharp@thesoileaus.com "In my opinion, the dashboard would be much more functional and valuable if I could determine how many work orders show on the screen and possibly even what statuses (or be able to sort by status, priority, etc.) The At a Glance stats of Service Rate Quantity is helpful but would be even more relevant if it showed what was approaching due date, overdue, waiting on parts, pending parts requests, items on loan stats, preventative maintenance work orders approaching and overdue. Having the capability to customize the Dashboard is key because each Service business has its own metrics that are most important to its business." - SCHEDULE (User's own schedule only if applicable, all users can have a schedule so it goes here) - MEMOS (for user) + - SCHEDULE MARKERS (list for user, convenience extra so don't need to hunt around on calendar) - SETTINGS - User locale settings - Any other user specific settings that the User can control (and sb able to control more than in v7 if it doesn't affect anyone else) @@ -106,8 +107,8 @@ TODO: IMPLEMENT and stub out entire nav layout, don't hae to open actual form, c - LOCALIZED TEXT DESIGN - REPORT TEMPLATES - FILES IN DATABASE - - SCHEDULE MARKERS (wtf forgot about this what's it for again?) - - OBJECT / CHANGE LOG whatever it's called, view the whole thing here to see what activity is happening in general + - SCHEDULE MARKERS (DEPRECATED) (This shows *all* sm for all users, kind of weird, not documented at all, leaving it out) + - HISTORY (event log) view, filter, sort etc the whole thing here to see what activity is happening in general - KPI WIDGETS AND GRAPHS AND SHIT FOR BIZ ADMIN - OPERATIONS CONSOLE - BACKUP diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 8556348c..f45a3ad0 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -55,6 +55,14 @@ export default function initialize() { key: key++ }); + //REMINDERS (SCHEDULE MARKERS) + sub.push({ + title: window.$gz.locale.get("ScheduleMarkerList"), + icon: "sticky-note", + route: "/reminder", + key: key++ + }); + //3rd level items under preferences //LOCALE @@ -379,23 +387,7 @@ export default function initialize() { key++ ); - // - ADMINISTRATION - // - GLOBAL SETTINGS - // - LICENSE RELATED - // - USERS - // - CUSTOM FIELD DESIGN - // - LOCALIZED TEXT DESIGN - // - NOTIFICATION DELIVERIES (LAST 7 DAYS) - // - REPORT TEMPLATES - // - FILES IN DATABASE - // - SCHEDULE MARKERS (wtf forgot about this what's it for again?) - // - OBJECT / CHANGE LOG whatever it's called, view the whole thing here to see what activity is happening in general - // - KPI WIDGETS AND GRAPHS AND SHIT FOR BIZ ADMIN - - - - - //****************** ADMINISTRATION + //****************** ADMINISTRATION //clear sublevel arrays subSub = []; sub = []; @@ -408,57 +400,73 @@ export default function initialize() { key: key++ }); - // LICENSE - sub.push({ + // LICENSE + sub.push({ title: window.$gz.locale.get("HelpLicense"), icon: "ticket-alt", route: "/license", key: key++ }); - // USERS - sub.push({ + // USERS + sub.push({ title: window.$gz.locale.get("UserList"), icon: "users", route: "/users", key: key++ }); + // CUSTOM FIELD DESIGNER NOT REQUIRED, OPENS FROM INDIVIDUAL FORMS - // CUSTOM FIELD DESIGNER NOT REQUIRED, OPENS FROM INDIVIDUAL FORMS - - //LOCALIZED TEXT DESIGNER - sub.push({ + //LOCALIZED TEXT DESIGNER + sub.push({ title: window.$gz.locale.get("LocalizedTextDesign"), icon: "language", route: "/locale", key: key++ }); - - //REPORT TEMPLATES - sub.push({ + //REPORT TEMPLATES + sub.push({ title: window.$gz.locale.get("ReportList"), - icon: "language", - route: "/locale", + icon: "th-list", + route: "/reportlist", key: key++ }); - + //FILES IN DATABASE + sub.push({ + title: window.$gz.locale.get("FILES MANAGER"), + icon: "folder", + route: "/filelist", + key: key++ + }); - // ** ACCOUNTING (TOP) + //EVENT LOG / HISTORY + sub.push({ + title: window.$gz.locale.get("HISTORY"), + icon: "history", + route: "/history", + key: key++ + }); + + //KPI / METRICS / CHARTS AND STUFF + sub.push({ + title: window.$gz.locale.get("KPI CHARTS"), + icon: "chart-line", + route: "/kpi", + key: key++ + }); + + // ** ADMINISTRATION (TOP) addNavItem( - window.$gz.locale.get("Accounting"), - "file-invoice-dollar", + window.$gz.locale.get("Administration"), + "user-tie", undefined, sub, key++ ); - - - - //NOTE: If a user has read full record or better then they should have access to that area // if ( diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index f78dbd1d..cf8f3fad 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -82,6 +82,7 @@ export default { "UserList", "LocalizedTextDesign", "ReportList", + "ScheduleMarkerList", //"Dispatch", "Inventory", "Accounting",