This commit is contained in:
2021-03-19 22:56:26 +00:00
parent 9d37eabb4f
commit f320bb6c7a
3 changed files with 78 additions and 40 deletions

View File

@@ -100,20 +100,6 @@
@input="mapUrlSelectionChanged"
></v-select>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.currencyName"
hint="e.g. USD, EUR, GBP, AUD, CAD etc"
:readonly="formState.readOnly"
:label="$ay.t('CurrencyCode')"
:rules="[form().required(this, 'currencyName')]"
:error-messages="form().serverErrors(this, 'currencyName')"
ref="currencyName"
@input="fieldValueChanged('currencyName')"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.hour12"
@@ -125,6 +111,22 @@
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.currencyName"
hint="e.g. USD, EUR, GBP, AUD, CAD etc"
persistent-hint
:readonly="formState.readOnly"
:label="$ay.t('CurrencyCode')"
:rules="[form().required(this, 'currencyName')]"
:error-messages="form().serverErrors(this, 'currencyName')"
ref="currencyName"
@input="fieldValueChanged('currencyName')"
append-outer-icon="$ayiQuestionCircle"
@click:append-outer="goHelp()"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
v-model="obj.languageOverride"
@@ -135,6 +137,8 @@
@input="fieldValueChanged('languageOverride')"
:hint="locale().getResolvedLanguage()"
persistent-hint
append-outer-icon="$ayiQuestionCircle"
@click:append-outer="goHelp()"
></v-text-field>
</v-col>
@@ -148,6 +152,8 @@
@input="fieldValueChanged('timeZoneOverride')"
:hint="locale().getResolvedTimeZoneName()"
persistent-hint
append-outer-icon="$ayiQuestionCircle"
@click:append-outer="goHelp()"
></v-text-field>
</v-col>
@@ -290,6 +296,12 @@ export default {
}
},
methods: {
goHelp() {
window.open(
this.$store.state.helpUrl + "ay-start-localization",
"_blank"
);
},
translation() {
return window.$gz.translation;
},