From c673c65769232e5b91a3696bbe2ed9a64df2252a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 10 Feb 2022 20:52:32 +0000 Subject: [PATCH] case 4105 --- ayanova/devdocs/todo.txt | 4 ++++ ayanova/src/views/svc-workorder-items.vue | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 1446cea2..768621bc 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -896,7 +896,11 @@ BUILD 8.0.0-beta.0.14 CHANGES OF NOTE - Changed work order item outside service section of wo/quote/pm to use title "Outside services" (translation key "OutsideServiceList") instead of formerly "Outside service list" (translation key "WorkOrderItemOutsideServiceList") this is to be consistent with other sections - Fixed several broken links in documentation +- case 4095 fixed +- case 4101 fixed - case 4111 fixed +- case 4100 bumped +- case 4102 bumped diff --git a/ayanova/src/views/svc-workorder-items.vue b/ayanova/src/views/svc-workorder-items.vue index b4d85fa2..cd37ffb4 100644 --- a/ayanova/src/views/svc-workorder-items.vue +++ b/ayanova/src/views/svc-workorder-items.vue @@ -239,12 +239,15 @@ function generateMenu(vm) { key: FORM_KEY + ":WorkOrderItemPartList", vm: vm }); - menuOptions.menuItems.push({ - title: "WorkOrderItemPartRequestList", - icon: "$ayiParachuteBox", - key: FORM_KEY + ":WorkOrderItemPartRequestList", - vm: vm - }); + + if (window.$gz.store.state.globalSettings.useInventory) { + menuOptions.menuItems.push({ + title: "WorkOrderItemPartRequestList", + icon: "$ayiParachuteBox", + key: FORM_KEY + ":WorkOrderItemPartRequestList", + vm: vm + }); + } menuOptions.menuItems.push({ title: "WorkOrderItemLaborList", icon: "$ayiHammer",