case 4095

This commit is contained in:
2022-01-25 14:47:55 +00:00
parent 4c95158a8a
commit eaf9819506
2 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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) {