From 740df548d3d04b4f5ddea413767f3fb854462f02 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 23 Jun 2021 18:43:00 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 3 ++- ayanova/src/views/svc-workorder-items.vue | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index af607c7b..83d52cb7 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -390,7 +390,8 @@ MISC WO ITEMS that came up 3873 3: subtree woitem lists implement - must be some planning on this, forget what I decided exactly + Not entirly sure about reporting, but data list should return object in question in tree as well as all ancestor objects up to woheader if recreating v7 style + 3891 3: Implement a workable duplication system SEE CASE 3891 for duplicate at client idea diff --git a/ayanova/src/views/svc-workorder-items.vue b/ayanova/src/views/svc-workorder-items.vue index c31bb177..44d16ce2 100644 --- a/ayanova/src/views/svc-workorder-items.vue +++ b/ayanova/src/views/svc-workorder-items.vue @@ -99,7 +99,7 @@ async function clickHandler(menuItem) { //Now open the report viewer... m.vm.$router.push({ name: "ay-report", - params: { recordid: res.id, ayatype: window.$gz.type.WorkOrder } + params: { recordid: res.id, ayatype: window.$gz.type.WorkOrderItem } }); } break; @@ -119,12 +119,12 @@ async function clickHandler(menuItem) { function generateMenu(vm) { let menuOptions = { isMain: true, - icon: "$ayiTools", - title: "WorkOrderList", + icon: "$ayiWrench", + title: "WorkOrderItemList", helpUrl: "svc-workorders", menuItems: [], formData: { - ayaType: window.$gz.type.WorkOrder + ayaType: window.$gz.type.WorkOrderItem } }; @@ -170,7 +170,7 @@ function generateMenu(vm) { menuOptions.menuItems.push({ title: "WorkOrderItemList", icon: "$ayiWrench", - key: FORM_KEY + ":WorkOrderItemList", + key: FORM_KEY + ":WorkOrderItemScheduledList", vm: vm });