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

@@ -445,6 +445,19 @@ export default {
case window.$gz.type.Review:
return "$sockiCalendarCheck";
case window.$gz.type.License:
return "$sockiGem";
case window.$gz.type.TrialLicenseRequest:
return "$sockiHandHoldingWater";
case window.$gz.type.SubscriptionServer:
return "$sockiCloud";
case window.$gz.type.Purchase:
return "$sockiShoppingCart";
case window.$gz.type.Product:
return "$sockiBarCode";
case window.$gz.type.GZCase:
return "$sockiCoffee";
//scroll icon is good one for something
default:
return null;

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

View File

@@ -30,12 +30,12 @@ export default {
DataListColumnView: 68,
CustomerNotifySubscription: 84, //proxy subs for customers
Integration: 92, //3rd party or add-on integration data store,
License: 93,
TrialLicenseRequest: 94,
SubscriptionServer: 95,
Purchase: 96,
Product: 97,
License: 93,
TrialLicenseRequest: 94,
SubscriptionServer: 95,
Purchase: 96,
Product: 97,
GZCase: 98
};
/**

View File

@@ -253,7 +253,14 @@ export default {
"ReportRenderTimeOut",
"RenderingReport",
"Settings",
"IntegrationList"
"IntegrationList",
"LicenseList",
"License",
"TrialLicenseRequestList",
"SubscriptionServerList",
"ProductList",
"PurchaseList",
"GZCaseList"
],
////////////////////////////////////////////////////////

View File

@@ -54,6 +54,7 @@ import {
faArrowsAltV,
faAt,
faBackward,
faBarcode,
faBars,
faBell,
faBinoculars,
@@ -82,7 +83,9 @@ import {
faClipboardList,
faClock,
faClone,
faCloud,
faCode,
faCoffee,
faCog,
faCogs,
faCoins,
@@ -132,10 +135,12 @@ import {
faFlag,
faFolder,
faForward,
faGem,
faGenderless,
faGlasses,
faGlobe,
faHammer,
faHandHoldingWater,
faHeading,
faHistory,
faHome,
@@ -187,6 +192,7 @@ import {
faServer,
faShare,
faShippingFast,
faShoppingCart,
faSignInAlt,
faSignOutAlt,
faSitemap,
@@ -240,6 +246,7 @@ library.add(
faArrowsAltV,
faAt,
faBackward,
faBarcode,
faBars,
faBell,
faBinoculars,
@@ -269,7 +276,9 @@ library.add(
farCircle,
faClock,
faClone,
faCloud,
faCode,
faCoffee,
faCog,
faCogs,
faCoins,
@@ -320,10 +329,12 @@ library.add(
faFlag,
faFolder,
faForward,
faGem,
faGenderless,
faGlasses,
faGlobe,
faHammer,
faHandHoldingWater,
faHeading,
faHistory,
faHome,
@@ -375,6 +386,7 @@ library.add(
faServer,
faShare,
faShippingFast,
faShoppingCart,
faSignInAlt,
faSignOutAlt,
faSitemap,
@@ -457,6 +469,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "backward"]
}
},
sockiBarCode: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "barcode"]
}
},
sockiBell: {
component: FontAwesomeIcon,
props: {
@@ -595,12 +613,24 @@ const CUSTOM_ICONS = {
icon: ["fas", "clone"]
}
},
sockiCloud: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "cloud"]
}
},
sockiCode: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "code"]
}
},
sockiCoffee: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "coffee"]
}
},
sockiCog: {
component: FontAwesomeIcon,
props: {
@@ -895,6 +925,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "forward"]
}
},
sockiGem: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "gem"]
}
},
sockiGenderless: {
component: FontAwesomeIcon,
props: {
@@ -919,6 +955,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "hammer"]
}
},
sockiHandHoldingWater: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "hand-holding-water"]
}
},
sockiHeading: {
component: FontAwesomeIcon,
props: {
@@ -1219,6 +1261,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "shipping-fast"]
}
},
sockiShoppingCart: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "shopping-cart"]
}
},
sockiSignIn: {
component: FontAwesomeIcon,
props: {