diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index b2f53947..63664e39 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -847,6 +847,7 @@ Current v8 docs home: https://www.ayanova.com/docs/ BUILD 8.0.0-beta.1-rc3 CHANGES OF NOTE +- Database *must* be freshly generated for this update as it has schema changes - added dashboard docs page - added dashboard widget "Scheduled" available to scheduleable users (techs) which shows today's work orders they are scheduled on - added dashboard widget "Reviews" available to all dashboardable users which shows today's Reviews diff --git a/ayanova/src/api/dash-registry.js b/ayanova/src/api/dash-registry.js index b5b0a3d3..0738d951 100644 --- a/ayanova/src/api/dash-registry.js +++ b/ayanova/src/api/dash-registry.js @@ -55,6 +55,15 @@ export default { singleOnly: true, settings: {} }, + { + id: "dash-labor-hours-personal", + roles: [role.Tech, role.TechRestricted], + title: "Labor hours", + type: "GzDashLaborHoursPersonal", + scheduleableUserOnly: true, + singleOnly: false, + settings: { endDate: window.$gz.locale.nowUTC8601String() } + }, { id: "TestBarWidgetCountByUserType", @@ -68,7 +77,7 @@ export default { type: "GzDashTestBarWidgetCountByUserType", scheduleableUserOnly: false, singleOnly: false, - settings: {} + settings: { customTitle: "my custom title" } }, { id: "TestLineWidgetMonthlyTotalPrice", diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index 04b61d7f..b5e0157e 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -284,7 +284,7 @@ export default { "DateRangeToday", "ReportRenderTimeOut", "RenderingReport", - "AllFieldsHidden" + "Settings" ], //////////////////////////////////////////////////////// diff --git a/ayanova/src/components/dash-base.vue b/ayanova/src/components/dash-base.vue index 347cef5a..1c4f16db 100644 --- a/ayanova/src/components/dash-base.vue +++ b/ayanova/src/components/dash-base.vue @@ -35,7 +35,7 @@ {{ icon }} - {{ translatedTitle }} + {{ displayTitle }}