This commit is contained in:
@@ -1282,6 +1282,16 @@ async function clickHandler(menuItem) {
|
||||
postCode: m.vm.obj.postCode
|
||||
});
|
||||
break;
|
||||
case "WorkOrderItemUnitList":
|
||||
m.vm.$router.push({
|
||||
name: "svc-workorder-item-units",
|
||||
params: {
|
||||
aType: m.vm.ayaType,
|
||||
objectId: m.vm.obj.id,
|
||||
name: m.vm.obj.serial
|
||||
}
|
||||
});
|
||||
break;
|
||||
default:
|
||||
window.$gz.eventBus.$emit(
|
||||
"notify-warning",
|
||||
@@ -1378,14 +1388,16 @@ function generateMenu(vm) {
|
||||
});
|
||||
|
||||
//---- SHOW ALL ---
|
||||
//MIGRATE_OUTSTANDING show all: workorderlist, unitlist, quotelist, pmlist
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "WorkOrderList",
|
||||
title: "WorkOrderList", //note: technically it opens teh woitemunitlist not workorders but it's confusing in the UI otherwise and this is how people would think about it
|
||||
icon: "$ayiTools",
|
||||
key: FORM_KEY + ":WorkOrderList",
|
||||
key: FORM_KEY + ":WorkOrderItemUnitList",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
//MIGRATE_OUTSTANDING show all: workorderlist, unitlist, quotelist, pmlist
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "QuoteList",
|
||||
icon: "$ayiPencilAlt",
|
||||
|
||||
Reference in New Issue
Block a user