This commit is contained in:
@@ -71,6 +71,7 @@ todo: TESTING After customer form is made
|
||||
OUTSTANDING WITH CUSTOMER
|
||||
contacts
|
||||
USER object needs the full contact fields added first
|
||||
Phone1, Phone2, Phone3 (formerly pager address)
|
||||
shows all contact info directly in grid
|
||||
Change cust-user edit form (and other user edit form) and add tabs and user options section so that it can all be set there as well
|
||||
Add button to email the user their creds and login and invite them to change the password once they login
|
||||
|
||||
@@ -1416,7 +1416,13 @@ async function fetchTranslatedText(vm) {
|
||||
"CustomerCustom13",
|
||||
"CustomerCustom14",
|
||||
"CustomerCustom15",
|
||||
"CustomerCustom16"
|
||||
"CustomerCustom16",
|
||||
"UserEmailAddress",
|
||||
"UserPhone1",
|
||||
"UserPhone2",
|
||||
"UserPageAddress",
|
||||
"User",
|
||||
"LastLogin"
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,65 @@
|
||||
type="email"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'Phone1')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-text-field
|
||||
v-model="obj.phone1"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('UserPhone1')"
|
||||
ref="phone1"
|
||||
data-cy="phone1"
|
||||
type="tel"
|
||||
:error-messages="form().serverErrors(this, 'phone1')"
|
||||
@input="fieldValueChanged('phone1')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'Phone2')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-text-field
|
||||
v-model="obj.phone2"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('UserPhone2')"
|
||||
ref="phone2"
|
||||
data-cy="phone2"
|
||||
type="tel"
|
||||
:error-messages="form().serverErrors(this, 'phone2')"
|
||||
@input="fieldValueChanged('phone2')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col
|
||||
v-if="form().showMe(this, 'Phone3')"
|
||||
cols="12"
|
||||
sm="6"
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<v-text-field
|
||||
v-model="obj.phone3"
|
||||
:readonly="formState.readOnly"
|
||||
:disabled="formState.readOnly"
|
||||
:label="$ay.t('UserPageAddress')"
|
||||
ref="phone3"
|
||||
data-cy="phone3"
|
||||
type="tel"
|
||||
:error-messages="form().serverErrors(this, 'phone3')"
|
||||
@input="fieldValueChanged('phone3')"
|
||||
></v-text-field>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-text-field
|
||||
@@ -226,6 +285,9 @@ export default {
|
||||
id: 0,
|
||||
concurrency: 0,
|
||||
emailAddress: null,
|
||||
phone1: null,
|
||||
phone2: null,
|
||||
phone3: null,
|
||||
mapUrlTemplate: null,
|
||||
uiColor: null,
|
||||
languageOverride: null,
|
||||
@@ -507,7 +569,10 @@ async function fetchTranslatedText(vm) {
|
||||
"UserColor",
|
||||
"Translation",
|
||||
"DarkMode",
|
||||
"MapUrlTemplate"
|
||||
"MapUrlTemplate",
|
||||
"UserPhone1",
|
||||
"UserPhone2",
|
||||
"UserPageAddress"
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user