From 51b21205482ccb5d59a8ce97176f32fd23a13fb4 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 7 Mar 2021 23:52:15 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 12 +- ayanova/src/views/svc-contract.vue | 257 ++++++++++++++++++++++++----- 2 files changed, 224 insertions(+), 45 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 7cdb78f8..c665e971 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -35,6 +35,7 @@ MISC ITEMS THAT CAME UP todo: BUGBUG delete all tags from customer, go back in and zone2 appears for some reason +todo: maybe Active field should be beside name as before in v7, it can get kind of buried and it also seems like it would be clearer if it was beside the name what it referred to todo: attach a photo from phone, no error just does nothing Test locally first to confirm, probably a rights issue of some kind @@ -192,12 +193,14 @@ todo: Changes to allow in place updates of server: CURRENTLY DOING: Contract form - rates list and restrict to rates checkbox etc need restrict to rates checkbox, then help docs and then done - +todo: limit to contractrate checkbox missing in rates todo: service rates contract list biz rule No dupes rule at server - limit to contract rates only in picklist??? + biz rule contract rates only must have some contract rates selected + '' travel + + -todo: form save full update like po todo: make other list / edit forms same as service rates list / edit form use list index, NOT id for crud ops way it deletes @@ -205,14 +208,13 @@ todo: make other list / edit forms same as service rates list / edit form todo: Maybe don't need alt format buttons for narrow view?? - +todo: foreign key check in rate validatedelete now that service rate can be set on contract todo: edit item by item being passed in is flawed potentially because it looks for ID to match when in reality it should pass the index because id is 0 for added items and there could be two added items every op should be by index to ensure it works properly go back and fix the ones by looking at teh edit first to find the by id and then switchup to index like for contract service rates which does it correctly -todo: limit to contractrate checkbox missing in rates todo: might want to put more fields in the contractdatalist, it's very sparse adn the old v7 had pretty much all the fields as well diff --git a/ayanova/src/views/svc-contract.vue b/ayanova/src/views/svc-contract.vue index f32beb22..cf4b19f2 100644 --- a/ayanova/src/views/svc-contract.vue +++ b/ayanova/src/views/svc-contract.vue @@ -17,7 +17,17 @@ @input="fieldValueChanged('name')" > - + + + - + {{ $ay.t("ContractDefaultAdjustments") }} @@ -155,16 +165,16 @@ - - + + {{ $ay.t("ContractTaggedAdjustments") }} - - {{ $ay.t("PartList") }} + {{ $ay.t("PartList") }} - $ayiPlus + $ayiPlus