From b6d9a60504d4d7542b8b69457d4f6fa4232da4a4 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 17 Dec 2019 20:44:50 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 9 ++-- ayanova/src/api/initialize.js | 80 +++++++++++++++++++++++++++++++++++ ayanova/src/api/locale.js | 5 +++ 3 files changed, 88 insertions(+), 6 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index a992eb01..12cca17c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -102,11 +102,8 @@ TODO: IMPLEMENT and stub out entire nav layout, don't hae to open actual form, c - ADMINISTRATION - GLOBAL SETTINGS - LICENSE RELATED - - USERS - - CUSTOMIZE - - CUSTOM FIELD DESIGN - - LOCALIZED TEXT DESIGN - - NOTIFICATION DELIVERIES (LAST 7 DAYS) + - USERS + - LOCALIZED TEXT DESIGN - REPORT TEMPLATES - FILES IN DATABASE - SCHEDULE MARKERS (wtf forgot about this what's it for again?) @@ -117,7 +114,7 @@ TODO: IMPLEMENT and stub out entire nav layout, don't hae to open actual form, c - RESTORE - LOGS - METRICS - - NOTIFICATION + - NOTIFICATION CONFIG AND CHECK DELIVERIES diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 7b1a0af8..8556348c 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -379,6 +379,86 @@ 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 + //clear sublevel arrays + subSub = []; + sub = []; + + // GLOBAL SETTINGS + sub.push({ + title: window.$gz.locale.get("AdministrationGlobalSettings"), + icon: "cogs", + route: "/globalsettings", + key: key++ + }); + + // LICENSE + sub.push({ + title: window.$gz.locale.get("HelpLicense"), + icon: "ticket-alt", + route: "/license", + key: key++ + }); + + // USERS + sub.push({ + title: window.$gz.locale.get("UserList"), + icon: "users", + route: "/users", + key: key++ + }); + + + // CUSTOM FIELD DESIGNER NOT REQUIRED, OPENS FROM INDIVIDUAL FORMS + + //LOCALIZED TEXT DESIGNER + sub.push({ + title: window.$gz.locale.get("LocalizedTextDesign"), + icon: "language", + route: "/locale", + key: key++ + }); + + + //REPORT TEMPLATES + sub.push({ + title: window.$gz.locale.get("ReportList"), + icon: "language", + route: "/locale", + key: key++ + }); + + + + // ** ACCOUNTING (TOP) + addNavItem( + window.$gz.locale.get("Accounting"), + "file-invoice-dollar", + 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 c8869a1e..f78dbd1d 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -77,6 +77,11 @@ export default { "InventoryPartInventoryAdjustments", "WidgetList", "VendorList", + "AdministrationGlobalSettings", + "HelpLicense", + "UserList", + "LocalizedTextDesign", + "ReportList", //"Dispatch", "Inventory", "Accounting",