This commit is contained in:
@@ -216,7 +216,7 @@ todo:3 Whats new in this release popup or link tied into the update process of t
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo:1 seeder customer and head office accounts now login show "No features have been enabled for your account"
|
|
||||||
todo:1 report template NAME uniqueness validation rule: can this be unique by ayatype only?
|
todo:1 report template NAME uniqueness validation rule: can this be unique by ayatype only?
|
||||||
seems weird that no two reports of any kind can have same name
|
seems weird that no two reports of any kind can have same name
|
||||||
also the default comes up as "report" sb blank with pre-broken rule saying name is required or at least uniquify it with a timestamp or something
|
also the default comes up as "report" sb blank with pre-broken rule saying name is required or at least uniquify it with a timestamp or something
|
||||||
@@ -777,3 +777,4 @@ BUILD 129 CHANGES OF NOTE
|
|||||||
- Fixed bug where data table page setting was lost on opening a record then returning to the datatable
|
- Fixed bug where data table page setting was lost on opening a record then returning to the datatable
|
||||||
- User and Contact data lists added Translation column as available option
|
- User and Contact data lists added Translation column as available option
|
||||||
- Translation added internal "BaseLanguage" field so when we have future updates with new translations in them we know which source language to use to update custom translations
|
- Translation added internal "BaseLanguage" field so when we have future updates with new translations in them we know which source language to use to update custom translations
|
||||||
|
- Seeder seed database enabled customer login features in example global settings
|
||||||
@@ -380,6 +380,12 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vm.obj.aType = vm.$route.params.reportDataOptions.AType;
|
vm.obj.aType = vm.$route.params.reportDataOptions.AType;
|
||||||
|
|
||||||
|
//trigger rule breaking / validation
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.obj.name = null;
|
||||||
|
this.fieldValueChanged(`name`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -753,6 +753,7 @@ const FORM_CUSTOM_TEMPLATE_KEY = "Customer"; //<-- Should always be CoreBizObjec
|
|||||||
export default {
|
export default {
|
||||||
async created() {
|
async created() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
|
let completelyNew = false;
|
||||||
//Prevent returning back to the /0 NEW route after having just created a new record and instead return to the original new source page
|
//Prevent returning back to the /0 NEW route after having just created a new record and instead return to the original new source page
|
||||||
// console.log("cust-customer created params: ", vm.$route.params);
|
// console.log("cust-customer created params: ", vm.$route.params);
|
||||||
// if (
|
// if (
|
||||||
@@ -791,6 +792,8 @@ export default {
|
|||||||
"Copy"
|
"Copy"
|
||||||
)}`;
|
)}`;
|
||||||
setDirty = true;
|
setDirty = true;
|
||||||
|
} else {
|
||||||
|
completelyNew = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -805,6 +808,14 @@ export default {
|
|||||||
window.$gz.errorHandler.handleFormError(error, vm);
|
window.$gz.errorHandler.handleFormError(error, vm);
|
||||||
} finally {
|
} finally {
|
||||||
vm.formState.ready = true;
|
vm.formState.ready = true;
|
||||||
|
if (completelyNew) {
|
||||||
|
//completely new record pre-break name rule so it shows as required
|
||||||
|
//trigger rule breaking / validation
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.obj.name = null;
|
||||||
|
this.fieldValueChanged(`name`);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async beforeRouteLeave(to, from, next) {
|
async beforeRouteLeave(to, from, next) {
|
||||||
@@ -834,7 +845,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 0,
|
id: 0,
|
||||||
concurrency: 0,
|
concurrency: 0,
|
||||||
name: null,
|
name: undefined,
|
||||||
active: true,
|
active: true,
|
||||||
notes: null,
|
notes: null,
|
||||||
wiki: null,
|
wiki: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user