From 8d0f53ce547b90453d74495a76425268d55e073e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 24 Mar 2021 14:39:37 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 6 +----- ayanova/src/api/notifypoll.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index bd24abae..272bbfa9 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -189,17 +189,13 @@ todo: many biz objects are not using new PUT methodology CURRENTLY DOING: workorder (status), then a bit of research on api structure (see below) then get going from Client end backwards once have rough idea and flesh it out as I go along and refine todo: workorder status list first, it's a table of created items, keep properties from v7 but add the following properties: - SelectRoles - who can select the status (still shows if they can't select but that's the current status, like active does) This is best handled at the client. It prefetches all the status out of the normal picklist process, more like how other things are separately handled now without a picklist client then knows if a status is available or not and can process to only present available ones - Server can use a biz rule to ensure that it can't be circumvented - + Server can use a biz rule to ensure that it can't be circumvented DeselectRoles - who can unset this status (important for process control) - FinishedStatus bool - this is a final status indicating all work on the workorder is completed, affects notification etc when set this, lock is checked in UI automatically and they need to remove it to force unlock and final - LockWorkorder - this status is considered read only and the workorder is locked Just a read only thing, can just change status to "unlock" it to support states where no one should work on a wo for whatever reason but it's not necessarily completed diff --git a/ayanova/src/api/notifypoll.js b/ayanova/src/api/notifypoll.js index a0b32c54..3a54e1bf 100644 --- a/ayanova/src/api/notifypoll.js +++ b/ayanova/src/api/notifypoll.js @@ -7,7 +7,7 @@ export default { return; } keepChecking = true; - //initial delay so it fetchs "immediately" + //initial delay so it fetches "immediately" let pollingInterval = 3000; let status = null; while (keepChecking == true) {