akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -9,7 +9,7 @@
formClasses
]"
:footer-error="formError"
:prependIcon="icon"
:appendIcon="icon"
:readonly="readonly"
:disabled="disabled"
@focus="focus"
@ -19,7 +19,7 @@
@on-open="focus"
@on-close="blur"
:config="dateConfig"
class="form-control datepicker"
class="form-element datepicker"
v-model="real_model"
@input="change"
:readonly="readonly"
@ -135,6 +135,7 @@ export default {
if (this.locale !== 'en') {
try {
const lang = require(`flatpickr/dist/l10n/${this.locale}.js`).default[this.locale];
this.dateConfig.locale = lang;
}
catch (e) {
@ -148,6 +149,7 @@ export default {
if (this.model) {
this.real_model = this.model;
}
this.$emit('interface', this.real_model);
},