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: case window.$gz.type.Review:
return "$sockiCalendarCheck"; 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 //scroll icon is good one for something
default: default:
return null; return null;

View File

@@ -211,28 +211,72 @@ ServiceContractor = 5 */
); );
} }
//####### SHARED GROUP ////////////////////////////////////////////////////////
// LICENSE, PRODUCT, PURCHASE GROUP
//
sub = []; sub = [];
//SCHEDULE (shared)
sub.push({ sub.push({
title: "Schedule", title: "LicenseList",
icon: "$sockiCalendarAlt", icon: "$sockiTicket",
route: "/svc-schedule", 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++ key: key++
}); });
//**** SHARED (TOP GROUP)
if ( if (
sub.length > 0 && sub.length > 0 &&
!window.$gz.role.hasRole([ !window.$gz.role.hasRole([
window.$gz.role.AUTHORIZATION_ROLES.TechRestricted 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 //****************** ACCOUNTING

View File

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

View File

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

View File

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