This commit is contained in:
@@ -211,28 +211,72 @@ ServiceContractor = 5 */
|
||||
);
|
||||
}
|
||||
|
||||
//####### SHARED GROUP
|
||||
////////////////////////////////////////////////////////
|
||||
// LICENSE, PRODUCT, PURCHASE GROUP
|
||||
//
|
||||
|
||||
sub = [];
|
||||
|
||||
//SCHEDULE (shared)
|
||||
|
||||
sub.push({
|
||||
title: "Schedule",
|
||||
icon: "$sockiCalendarAlt",
|
||||
route: "/svc-schedule",
|
||||
title: "LicenseList",
|
||||
icon: "$sockiTicket",
|
||||
route: "/license-list",
|
||||
key: key++
|
||||
});
|
||||
|
||||
sub.push({
|
||||
title: "TrialLicenseRequestList",
|
||||
icon: "$sockiTicket",
|
||||
route: "/license-trial-request-list",
|
||||
key: key++
|
||||
});
|
||||
|
||||
sub.push({
|
||||
title: "PurchaseList",
|
||||
icon: "$sockiTicket",
|
||||
route: "/license-purchase-list",
|
||||
key: key++
|
||||
});
|
||||
|
||||
sub.push({
|
||||
title: "ProductList",
|
||||
icon: "$sockiTicket",
|
||||
route: "/license-product-list",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//**** SHARED (TOP GROUP)
|
||||
if (
|
||||
sub.length > 0 &&
|
||||
!window.$gz.role.hasRole([
|
||||
window.$gz.role.AUTHORIZATION_ROLES.TechRestricted
|
||||
])
|
||||
) {
|
||||
addNavItem("Service", "$sockiToolbox", undefined, sub, key++, "service");
|
||||
addNavItem("License", "$sockiTicket", undefined, sub, key++, "license");
|
||||
}
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// //####### SERVICE GROUP
|
||||
|
||||
// sub = [];
|
||||
|
||||
// //SCHEDULE (shared)
|
||||
|
||||
// sub.push({
|
||||
// title: "Schedule",
|
||||
// icon: "$sockiCalendarAlt",
|
||||
// route: "/svc-schedule",
|
||||
// key: key++
|
||||
// });
|
||||
|
||||
// //**** SHARED (TOP GROUP)
|
||||
// if (
|
||||
// sub.length > 0 &&
|
||||
// !window.$gz.role.hasRole([
|
||||
// window.$gz.role.AUTHORIZATION_ROLES.TechRestricted
|
||||
// ])
|
||||
// ) {
|
||||
// addNavItem("Service", "$sockiToolbox", undefined, sub, key++, "service");
|
||||
// }
|
||||
|
||||
//****************** ACCOUNTING
|
||||
|
||||
|
||||
Reference in New Issue
Block a user