diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index da9c0eb0..a3090239 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -408,7 +408,8 @@ todo 3: workorder notifications to code and test: WorkorderCreatedForCustomer = 31, //*Service work order is created for Customer, only applies to that customer user notify sub for that customer, customer id is in conditional ID value for subscription WorkorderCompletedFollowUp = 32, //* Service workorder closed status follow up again after this many TIMESPAN - +todo: all objects that I workarounded to have name and tags that didnt originally support it + need to have name and tags set in notification standard processors first or it will bomb when notify on created that object etc todo: notify event list table needs to show status of workorder (all fields) ideally otherwise if you have multiple wostatusage notifications they all appear the same diff --git a/ayanova/src/components/work-order-items.vue b/ayanova/src/components/work-order-items.vue index c4057083..d7abb8e7 100644 --- a/ayanova/src/components/work-order-items.vue +++ b/ayanova/src/components/work-order-items.vue @@ -656,7 +656,7 @@ export default { }); break; case window.$gz.type.WorkOrderItemPartRequest: - z.parts.forEach((x, childindex) => { + z.partRequests.forEach((x, childindex) => { if (x.id == val.id) { navto.woitemindex = itemindex; navto.childindex = childindex; diff --git a/ayanova/src/views/svc-workorder.vue b/ayanova/src/views/svc-workorder.vue index 4d736d0b..83f9fe93 100644 --- a/ayanova/src/views/svc-workorder.vue +++ b/ayanova/src/views/svc-workorder.vue @@ -100,6 +100,7 @@ export default { vm.formState.ready = true; //navigate somewhere?? if (this.$route.params.gotype != null) { + //console.log("wo-go:", this.$route.params); //find out which woitem and then find out which type to set and then set them as the active item somehow const gotype = Number(this.$route.params.gotype); const goid = Number(this.$route.params.goid);