This commit is contained in:
@@ -55,7 +55,7 @@ function handleError(action, error, route, reject) {
|
||||
"notify-warning",
|
||||
window.$gz.locale.get("ErrorUserNotAuthorized")
|
||||
);
|
||||
router.push("/dashboard");
|
||||
router.push("/home-dashboard");
|
||||
return reject("[ErrorUserNotAuthorized]");
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("DashboardDashboard"),
|
||||
icon: "tachometer-alt",
|
||||
route: "/dashboard",
|
||||
route: "/home-dashboard",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -51,7 +51,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("MemoList"),
|
||||
icon: "inbox",
|
||||
route: "/memo",
|
||||
route: "/home-memos",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ScheduleMarkerList"),
|
||||
icon: "sticky-note",
|
||||
route: "/reminder",
|
||||
route: "/home-reminders",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -69,7 +69,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("Locale"),
|
||||
icon: "language",
|
||||
route: "/userlocale",
|
||||
route: "/home-locale",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -77,7 +77,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("SetLoginPassword"),
|
||||
icon: "key",
|
||||
route: "/changepw",
|
||||
route: "/home-password",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -85,7 +85,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("NotifySubscriptionList"),
|
||||
icon: "bullhorn",
|
||||
route: "/notifysubscriptions",
|
||||
route: "/form-home-notify-subscriptions",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -116,7 +116,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ClientList"),
|
||||
icon: "address-card",
|
||||
route: "/customers",
|
||||
route: "/cust-customers",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -124,7 +124,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("HeadOfficeList"),
|
||||
icon: "sitemap",
|
||||
route: "/headoffices",
|
||||
route: "/cust-headoffices",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -155,7 +155,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderServiceList"),
|
||||
icon: "tools",
|
||||
route: "/workorders",
|
||||
route: "/svc-workorders",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -163,7 +163,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderServiceTemplate"),
|
||||
icon: "stamp",
|
||||
route: "/workordertemplates",
|
||||
route: "/svc-workorder-templates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -182,7 +182,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderQuoteList"),
|
||||
icon: "edit",
|
||||
route: "/quotes",
|
||||
route: "/svc-quotes",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -190,7 +190,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderQuoteTemplate"),
|
||||
icon: "stamp",
|
||||
route: "/quotetemplates",
|
||||
route: "/svc-quote-templates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -209,7 +209,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
|
||||
icon: "business-time",
|
||||
route: "/pmlist",
|
||||
route: "/svc-pm-list",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -219,7 +219,7 @@ export default function initialize() {
|
||||
"WorkorderPreventiveMaintenanceTemplate"
|
||||
),
|
||||
icon: "stamp",
|
||||
route: "/pmtemplates",
|
||||
route: "/svc-pm-templates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -236,7 +236,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitList"),
|
||||
icon: "fan",
|
||||
route: "/units",
|
||||
route: "/svc-units",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -244,7 +244,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitModels"),
|
||||
icon: "dice-d20",
|
||||
route: "/unitmodels",
|
||||
route: "/svc-unit-models",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -252,7 +252,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("LoanItemList"),
|
||||
icon: "plug",
|
||||
route: "/loaners",
|
||||
route: "/svc-loaners",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -260,7 +260,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ContractList"),
|
||||
icon: "file-contract",
|
||||
route: "/contracts",
|
||||
route: "/svc-contracts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -268,7 +268,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ClientServiceRequestList"),
|
||||
icon: "child",
|
||||
route: "/csrs",
|
||||
route: "/svc-csr-list",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -290,7 +290,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("PartList"),
|
||||
icon: "boxes",
|
||||
route: "/parts",
|
||||
route: "/inv-parts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -298,7 +298,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("PartByWarehouseInventoryList"),
|
||||
icon: "pallet",
|
||||
route: "/partinventorylist",
|
||||
route: "/inv-part-inventory",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -306,7 +306,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("WorkorderItemPartRequestList"),
|
||||
icon: "paper-plane",
|
||||
route: "/partrequests",
|
||||
route: "/inv-part-requests",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -314,7 +314,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("InventoryPurchaseOrders"),
|
||||
icon: "shipping-fast",
|
||||
route: "/polist",
|
||||
route: "/inv-purchase-orders",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -324,7 +324,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("InventoryPurchaseOrderReceipts"),
|
||||
icon: "dolly-flatbed",
|
||||
route: "/poreceipts",
|
||||
route: "/inv-purchase-order-receipts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -334,7 +334,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("InventoryPartInventoryAdjustments"),
|
||||
icon: "dolly",
|
||||
route: "/adjustments",
|
||||
route: "/inv-adjustments",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -365,7 +365,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Accounting"),
|
||||
icon: "calculator",
|
||||
route: "/accounting",
|
||||
route: "/acc-accounting",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -387,7 +387,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("AdministrationGlobalSettings"),
|
||||
icon: "cogs",
|
||||
route: "/globalsettings",
|
||||
route: "/adm-global-settings",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -395,15 +395,15 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("HelpLicense"),
|
||||
icon: "ticket-alt",
|
||||
route: "/license",
|
||||
route: "/adm-license",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// USERS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UserList"),
|
||||
icon: "users",
|
||||
route: "/users",
|
||||
icon: "adm-users",
|
||||
route: "/adm-users",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -413,7 +413,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("LocalizedTextDesign"),
|
||||
icon: "language",
|
||||
route: "/locales",
|
||||
route: "/adm-localized-text",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -421,7 +421,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ReportList"),
|
||||
icon: "th-list",
|
||||
route: "/reports",
|
||||
route: "/adm-report-templates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -429,15 +429,15 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Attachments"),
|
||||
icon: "folder",
|
||||
route: "/files",
|
||||
route: "/adm-attachments",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//EVENT LOG / HISTORY
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("History"),
|
||||
icon: "history",
|
||||
route: "/history",
|
||||
icon: "adm-history",
|
||||
route: "/adm-history",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -445,7 +445,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Statistics"),
|
||||
icon: "chart-line",
|
||||
route: "/statistics",
|
||||
route: "/adm-statistics",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -467,7 +467,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Backup"),
|
||||
icon: "file-archive",
|
||||
route: "/backup",
|
||||
route: "/ops-backup",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -475,7 +475,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerJobs"),
|
||||
icon: "robot",
|
||||
route: "/jobs",
|
||||
route: "/ops-jobs",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -483,7 +483,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerLog"),
|
||||
icon: "history",
|
||||
route: "/serverlogs",
|
||||
route: "/ops-log",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -491,7 +491,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ServerMetrics"),
|
||||
icon: "file-medical-alt",
|
||||
route: "/metrics",
|
||||
route: "/ops-metrics",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -499,7 +499,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("NotificationSettings"),
|
||||
icon: "bullhorn",
|
||||
route: "/notifysettings",
|
||||
route: "/ops-notification-settings",
|
||||
key: key++
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user