From f489e5b82d7191bcb90d45b29619fb3544d1f8cf Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 18 May 2021 19:27:49 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 12 +---- ayanova/src/components/work-order-header.vue | 53 -------------------- 2 files changed, 1 insertion(+), 64 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index c1d6c225..2af24a33 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -339,17 +339,7 @@ todo: many biz objects are not using new PUT methodology -CURRENTLY DOING: labors - - - - todo: remove contract control entirely from code - - todo: replicate labor save code at front and back to the other contracted objects - - return full object, update accordingly - - taxes calculated properly /100 - - identify any workorder graph objects that will be returned with updated values (any viz I guess too) - - might turn out to be all objects really +CURRENTLY DOING: nothing...pick something below to continue todo: boolean fields in table are showing "true" "false" must change to checkboxes or checkbox characters or something diff --git a/ayanova/src/components/work-order-header.vue b/ayanova/src/components/work-order-header.vue index 091473c8..8324c607 100644 --- a/ayanova/src/components/work-order-header.vue +++ b/ayanova/src/components/work-order-header.vue @@ -347,59 +347,6 @@ export default { //flag this record dirty so it gets picked up by save this.value.isDirty = true; window.$gz.form.fieldValueChanged(this.pvm, ref); - - // if (ref == "customerId") { - // this.value.alertViz = null; - // const custId = this.value.customerId; - // if (custId != null) { - // //------ Alert notes - // let res = await window.$gz.api.get(`customer/alert/${custId}`); - // if (res.data) { - // this.value.alertViz = res.data; - // } - // //------ Addresses - // res = await window.$gz.api.get(`customer/address/${custId}`); - // if (res.data) { - // //Addresses are considered non-empty if the PostAddress or Address field is not empty - - // //Set Billing address - // if ( - // !window.$gz.util.stringIsNullOrEmpty( - // res.data.headofficepost.postAddress - // ) - // ) { - // //Use head office bill to address - // this.value.postAddress = res.data.headofficepost.postAddress; - // this.value.postCity = res.data.headofficepost.postCity; - // this.value.postRegion = res.data.headofficepost.postRegion; - // this.value.postCountry = res.data.headofficepost.postCountry; - // this.value.postCode = res.data.headofficepost.postCode; - // } else { - // //Use customer postal address, if it's empty then it's empty - // this.value.postAddress = res.data.customerpost.postAddress; - // this.value.postCity = res.data.customerpost.postCity; - // this.value.postRegion = res.data.customerpost.postRegion; - // this.value.postCountry = res.data.customerpost.postCountry; - // this.value.postCode = res.data.customerpost.postCode; - // } - - // //Set service address - // if ( - // !window.$gz.util.stringIsNullOrEmpty( - // res.data.customerphys.address - // ) - // ) { - // //Use head office bill to address - // this.value.address = res.data.customerphys.address; - // this.value.city = res.data.customerphys.city; - // this.value.region = res.data.customerphys.region; - // this.value.country = res.data.customerphys.country; - // this.value.latitude = res.data.customerphys.latitude; - // this.value.longitude = res.data.customerphys.longitude; - // } - // } - // } - // } } } },