diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 15bf33bf..ce15cb38 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -839,3 +839,8 @@ BUILD 8.0.0-beta.0.13 CHANGES OF NOTE - This update requires a fresh database rebuild - Replaced 5 report templates from FIVERPTSNEEDED_beta.0.12reporttemplates.zip email of 2022-01-21, 5:08 PM +- Fixed issue with wo,quote,pm that prevented form customized Required fields from working +- Fixed issue with wo and quote that sometimes would give a index out of range error when editing the header and saving. + +- case 4092, 4094 fixed +- case 4095 implemented diff --git a/ayanova/src/views/svc-workorder.vue b/ayanova/src/views/svc-workorder.vue index 2e2a8439..de4653fe 100644 --- a/ayanova/src/views/svc-workorder.vue +++ b/ayanova/src/views/svc-workorder.vue @@ -101,7 +101,7 @@ export default { customerContactName: null, fromQuoteId: null, fromPMId: null, - serviceDate: null, + serviceDate: window.$gz.locale.nowUTC8601String(), completeByDate: null, durationToCompleted: "00:00:00", invoiceNumber: null, @@ -284,8 +284,6 @@ export default { //sometimes we're here with some data to fill in (e.g. schedule creates new wo itemscheduled user, if so there will be a add property on the params) if (this.$route.params.add) { - //todo: REFACTOR this is a temporary abomination, new items should be standardized somewhere else in one location - //ideally a central place for creating new workorder related objects const n = this.$route.params.add; switch (n.type) { case this.$ay.ayt().WorkOrderItemScheduledUser: @@ -334,7 +332,7 @@ export default { outsideServices: [], uid: Date.now() //used for error tracking / display }); - + this.obj.serviceDate = n.start; break; default: if (window.$gz.dev) {