This commit is contained in:
2022-12-23 20:38:07 +00:00
parent eb3cec1ffd
commit e49daed751
5 changed files with 127 additions and 15 deletions

View File

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