schedules initially done, docs next

This commit is contained in:
2021-10-07 21:42:16 +00:00
parent 5da888626e
commit 1434a4fb74
4 changed files with 31 additions and 68 deletions

View File

@@ -19,20 +19,6 @@
SVC-SCHEDULE OUTSTANDING ITEMS
Drill down to schedule by user so can click through user to schedule for *that* user alone, (brings up home-schedule maybe or I guess a copy would be easiest)
this will solve issue when people say "Why can't I view month but for one user instead?"
probably easiest from both the User edit form for admin and from the svc-schedule form (maybe a link on their names at top?? Opens same view currently selected but for that *one* user)
This is an important and must have feature for inital release
3766 - view schedule filtered by customer so can see at a glance all past and future for a single customer (more data table filter similarity)
"show all " but on a schedule to view that way instead of a data table
also maybe supported for the customer user as well or defer that but make a case for it as a future feature
yes, do this, very important
CUST-SCHEDULE
schedule docs notes
unassigned slot and how it works
@@ -42,7 +28,11 @@
small screen view vs larger
Upgrade to Postgres 14 here and with test windows 64 dist and at linux server
https://www.postgresql.org/about/news/postgresql-14-released-2318/?utm_source=DigitalOcean_Newsletter&mkt_tok=MTEzLURUTi0yNjYAAAF_-kq9yrSqHDi1mA-drJPg1COiq4s1V8qwN1cFXW_5E79r3XoOvct6MYo4p6heM-7_2iuBSeC9R1ODlweZngo0BNO9XB-5_GwvsTV2k8_o
Update front / back
Testing cases
Customer work order form / view / open???
Customer CSR form has a bunch of todo in the template, WTF?
Dashboard / widgets
@@ -779,3 +769,6 @@ BUILD 133 CHANGES OF NOTE
- Work order header status control, moved click detection to outer div (just like signature control) so can more easily click anywhere on it to open the work order status control for setting
- Removed User UIColor setting as it is not practical to use with the new schedule control and that was the only place it was used in v7
- Service -> Schedule implemented
- svc-schedule-user implemented (this is when you click on the user name and drill down from team view in svc-schedule)
- case 4000 looking for your input on this one please

View File

@@ -289,6 +289,13 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "svc" */ "./views/svc-schedule-user.vue")
},
//future v.next
// {
// path: "/svc-schedule-cust/:recordid/:name",
// name: "svc-schedule-cust",
// component: () =>
// import(/* webpackChunkName: "svc" */ "./views/svc-schedule-cust.vue")
// },
{
path: "/svc-workorders",
name: "svc-workorders",

View File

@@ -1337,6 +1337,17 @@ async function clickHandler(menuItem) {
}
});
break;
//v.next
// case "Schedule":
// m.vm.$router.push({
// name: "svc-schedule-cust",
// params: {
// recordid: m.vm.obj.id,
// name: m.vm.obj.name
// }
// });
// break;
default:
window.$gz.eventBus.$emit(
"notify-warning",

View File

@@ -942,34 +942,7 @@ async function clickHandler(menuItem) {
// break;
case "WorkOrderItemScheduledUserList":
m.vm.$router.push({
name: "svc-workorder-item-scheduled-users",
params: {
aType: window.$gz.type.User,
objectId: m.vm.$store.state.userId,
name: m.vm.$store.state.userName
}
});
break;
case "WorkOrderItemLaborList":
m.vm.$router.push({
name: "svc-workorder-item-labors",
params: {
aType: window.$gz.type.User,
objectId: m.vm.$store.state.userId,
name: m.vm.$store.state.userName
}
});
break;
case "ReminderList":
m.vm.$router.push({
name: "home-reminders"
});
break;
case "ReviewList":
m.vm.$router.push({
name: "home-reviews"
name: "svc-workorder-item-scheduled-users"
});
break;
@@ -1015,36 +988,15 @@ function generateMenu(vm) {
// });
// }
menuOptions.menuItems.push({ divider: true, inset: false });
menuOptions.menuItems.push({
title: "ReminderList",
icon: "$ayiStickyNote",
key: FORM_KEY + ":ReminderList",
title: "WorkOrderItemScheduledUserList",
icon: "$ayiUserClock",
key: FORM_KEY + ":WorkOrderItemScheduledUserList",
vm: vm
});
menuOptions.menuItems.push({
title: "ReviewList",
icon: "$ayiCalendarCheck",
key: FORM_KEY + ":ReviewList",
vm: vm
});
if (vm.$store.getters.isScheduleableUser) {
menuOptions.menuItems.push({ divider: true, inset: false });
menuOptions.menuItems.push({
title: "WorkOrderItemScheduledUserList",
icon: "$ayiUserClock",
key: FORM_KEY + ":WorkOrderItemScheduledUserList",
vm: vm
});
menuOptions.menuItems.push({
title: "WorkOrderItemLaborList",
icon: "$ayiHammer",
key: FORM_KEY + ":WorkOrderItemLaborList",
vm: vm
});
}
menuOptions.menuItems.push({ divider: true, inset: false });
window.$gz.eventBus.$emit("menu-change", menuOptions);