This commit is contained in:
2021-06-23 18:43:00 +00:00
parent 32b9fccc40
commit 740df548d3
2 changed files with 7 additions and 6 deletions

View File

@@ -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

View File

@@ -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
});