From 38d0bb636b960354e0378c6f804e1304df9212db Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 6 Jan 2021 20:03:10 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 ---- ayanova/src/api/initialize.js | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 7e78097d..79c48e0a 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,11 +5,7 @@ MISC ITEMS THAT CAME UP -todo: Active field is probably very seldom used, perhaps it should always be the last field in the forms? - Yes, move active to just before Notes on every form or if no notes make it the last less than 12 column field - - todo: consider moving service contracts to Accounting area? todo: Notification at server has NotifyDeliveryLog object unused and no UI at from for it either diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 7d4ae26e..18104efb 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -334,16 +334,6 @@ function initNavPanel() { }); } - //CONTRACTS subitem - if (window.$gz.role.canOpen(window.$gz.type.Contract)) { - sub.push({ - title: "ContractList", - icon: "$ayiFileContract", - route: "/svc-contracts", - key: key++ - }); - } - //PROJECTS subitem if (window.$gz.role.canOpen(window.$gz.type.Project)) { sub.push({ @@ -450,6 +440,16 @@ function initNavPanel() { sub = []; + //SERVICE CONTRACTS subitem + if (window.$gz.role.canOpen(window.$gz.type.Contract)) { + sub.push({ + title: "ContractList", + icon: "$ayiFileContract", + route: "/svc-contracts", + key: key++ + }); + } + //SERVICE BANK if (window.$gz.role.canOpen(window.$gz.type.ServiceBank)) { sub.push({ title: "ServiceBankList",