This commit is contained in:
2022-02-26 01:00:45 +00:00
parent 58a636e24c
commit 64d43d8706
5 changed files with 104 additions and 114 deletions

View File

@@ -3,7 +3,6 @@ const role = authorizationroles.AUTHORIZATION_ROLES;
export default {
registry: [
{
id: "dash-today-reminders",
roles: [
role.BizAdmin,
role.BizAdminRestricted,
@@ -25,7 +24,6 @@ export default {
settings: {}
},
{
id: "dash-today-reviews",
roles: [
role.BizAdmin,
role.BizAdminRestricted,
@@ -47,7 +45,6 @@ export default {
settings: {}
},
{
id: "dash-today-scheduled-wo",
roles: [role.Tech, role.TechRestricted],
title: "DashboardScheduled",
type: "GzDashTodayScheduledWo",
@@ -56,35 +53,32 @@ export default {
settings: {}
},
{
id: "dash-labor-hours-personal",
roles: [role.Tech, role.TechRestricted],
title: "Labor hours",
title: "WorkOrderItemLaborList",
type: "GzDashLaborHoursPersonal",
scheduleableUserOnly: true,
singleOnly: false,
settings: {
customTitle: null,
dateRange: "*thismonth*",
unit: "day",
color: "#000000"
timeSpan: "*thismonth*",
interval: "day",
color: "#00205B"
}
},
{
id: "dash-labor-hours-personal-bar",
roles: [role.Tech, role.TechRestricted],
title: "Labor hours - bar",
title: "WorkOrderItemLaborList",
type: "GzDashLaborHoursPersonalBar",
scheduleableUserOnly: true,
singleOnly: false,
settings: {
customTitle: null,
dateRange: "*thismonth*",
unit: "day",
color: "#000000"
timeSpan: "*thismonth*",
interval: "day",
color: "#00205B"
}
},
{
id: "TestBarWidgetCountByUserType",
roles: [
role.BizAdmin,
role.BizAdminRestricted,
@@ -98,7 +92,6 @@ export default {
settings: { customTitle: "my custom title" }
},
{
id: "TestLineWidgetMonthlyTotalPrice",
roles: [
role.BizAdmin,
role.BizAdminRestricted,
@@ -126,7 +119,7 @@ export default {
continue;
}
ret.push({
id: item.id,
id: i,
title: item.title,
type: item.type,
singleOnly: item.singleOnly,