This commit is contained in:
2019-12-17 21:11:33 +00:00
parent b6d9a60504
commit 700b9dc76d
3 changed files with 50 additions and 40 deletions

View File

@@ -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 (

View File

@@ -82,6 +82,7 @@ export default {
"UserList",
"LocalizedTextDesign",
"ReportList",
"ScheduleMarkerList",
//"Dispatch",
"Inventory",
"Accounting",