This commit is contained in:
2021-07-22 23:51:01 +00:00
parent 771f2d8483
commit 6ab68f9de0
5 changed files with 14 additions and 11 deletions

View File

@@ -214,7 +214,7 @@ todo:2 Contract override by TAGS
todo:3 form field customization add a "reset" feature to reset to default for when people fuck it up
basically just show all fields and remove the required from fields
todo:1** add NOW button to date picker just like time picker that does the same thing
todo:2 Not in love with the "Error api2200" as the only error text in the box
sometimes it has things you can't see in the form
@@ -269,7 +269,7 @@ todo:3 apierror showing in errorbox on validation error
todo:3 generateMenu called on forms redundantly?
called for getdata, but also called in created in wrong place i.e. always rather than just when it's not a getdata situation due to already existing
todo:1** select list templates under global is offering types that don't have select lists like memo etc
todo:2 ability to turn off attachments for every form it's on via customize ui
@@ -891,4 +891,6 @@ BUILD 116
Added VENDOR mail and delivery addresses, all phone numbers and contact fields
Added dropshipcustomer phone numbers, both addresses to viz fields on po
- Fixed bug in Direct Notification where preselecting users in user list or single user form and selecting direct notification resulted in error instead of form open with users preselected
- Fixed bug in Direct Notification where preselecting users in user list or single user form and selecting direct notification resulted in error instead of form open with users preselected
- Date / Date_Time pickers added "Today" option to set to today's date similarly to Time pickers "Now" option to set time to now

View File

@@ -311,7 +311,8 @@ export default {
"GeoView",
"CopyToClipboard",
"AyaType",
"Now"
"Now",
"DateRangeToday"
],
////////////////////////////////////////////////////////

View File

@@ -28,8 +28,8 @@
}}</v-btn>
<v-spacer></v-spacer>
what the fuck
<v-btn text color="primary" @click="setNow()">{{
$ay.t("Now")
<v-btn text color="primary" @click="setToday()">{{
$ay.t("DateRangeToday")
}}</v-btn>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">{{
@@ -95,7 +95,7 @@ export default {
}
},
methods: {
setNow() {
setToday() {
let v = window.$gz.locale
.nowUTC8601String(this.timeZoneName)
.split("T")[0];

View File

@@ -28,8 +28,8 @@
$ay.t("Delete")
}}</v-btn>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="setDateNow()">{{
$ay.t("Now")
<v-btn text color="primary" @click="setToday()">{{
$ay.t("DateRangeToday")
}}</v-btn>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">{{
@@ -133,7 +133,7 @@ export default {
}
},
methods: {
setDateNow() {
setToday() {
let v = window.$gz.locale
.nowUTC8601String(this.timeZoneName)
.split("T")[0];

View File

@@ -453,7 +453,7 @@ async function fetchTranslatedText(vm) {
//
//
async function populateSelectionLists(vm) {
let res = await window.$gz.api.get(API_BASE_URL + "List");
let res = await window.$gz.api.get(API_BASE_URL + "list");
if (res.error) {
vm.formState.serverError = res.error;
window.$gz.form.setErrorBoxErrors(vm);