bank account datetime fixed
This commit is contained in:
parent
9174ac3697
commit
be6c35f3d1
|
|
@ -1,5 +1,4 @@
|
|||
<template>
|
||||
|
||||
<!-- BEGIN: Form Validation -->
|
||||
<PreviewComponent class="intro-y box mt-5">
|
||||
<div class="flex flex-col sm:flex-row items-center p-5 border-b border-slate-200/60 dark:border-darkmode-400">
|
||||
|
|
@ -13,7 +12,7 @@
|
|||
<label for="validation-form-6" class="form-label w-full flex flex-col sm:flex-row">
|
||||
{{ $t('ACC_NUMBER') }}
|
||||
<span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-slate-500"><span class="text-red-600">*</span> {{
|
||||
$t("REQUIRED")
|
||||
$t("REQUIRED")
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
|
|
@ -33,7 +32,7 @@
|
|||
<label for="validation-form-2" class="form-label w-full flex flex-col sm:flex-row">
|
||||
{{ $t('ACC_DATE') }}
|
||||
<span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-slate-500"><span class="text-red-600">*</span> {{
|
||||
$t("REQUIRED")
|
||||
$t("REQUIRED")
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
|
|
@ -70,7 +69,7 @@
|
|||
<label for="validation-form-4" class="form-label w-full flex flex-col sm:flex-row">
|
||||
{{ $t('CURRENCY') }}
|
||||
<span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-slate-500"><span class="text-red-600">*</span> {{
|
||||
$t("REQUIRED")
|
||||
$t("REQUIRED")
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
|
|
@ -89,7 +88,7 @@
|
|||
<label for="validation-form-4" class="form-label w-full flex flex-col sm:flex-row">
|
||||
{{ $t('IBAN') }}
|
||||
<span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-slate-500"><span class="text-red-600">*</span> {{
|
||||
$t("REQUIRED")
|
||||
$t("REQUIRED")
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
|
|
@ -108,13 +107,12 @@
|
|||
<label for="validation-form-4" class="form-label w-full flex flex-col sm:flex-row">
|
||||
{{ $t('BANK_NAME') }}
|
||||
<span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-slate-500"><span class="text-red-600">*</span> {{
|
||||
$t("REQUIRED")
|
||||
$t("REQUIRED")
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
<input id="validation-form-4" v-model.trim="validate.bank_name.$model" type="text" name="bank_name"
|
||||
class="form-control" :class="{ 'border-danger': validate.bank_name.$error }"
|
||||
:placeholder="$t('BANK_NAME')" />
|
||||
class="form-control" :class="{ 'border-danger': validate.bank_name.$error }" :placeholder="$t('BANK_NAME')" />
|
||||
<template v-if="validate.bank_name.$error">
|
||||
<div v-for="(error, index) in validate.bank_name.$errors" :key="index" class="text-danger mt-2">
|
||||
{{ error.$message }}
|
||||
|
|
@ -128,7 +126,7 @@
|
|||
<label for="validation-form-4" class="form-label w-full flex flex-col sm:flex-row">
|
||||
{{ $t('COUNTRY') }}
|
||||
<span class="sm:ml-auto mt-1 sm:mt-0 text-xs text-slate-500"><span class="text-red-600">*</span> {{
|
||||
$t("REQUIRED")
|
||||
$t("REQUIRED")
|
||||
}}
|
||||
</span>
|
||||
</label>
|
||||
|
|
@ -250,7 +248,7 @@ onMounted(() => {
|
|||
|
||||
if (params) {
|
||||
Object.assign(formData, params);
|
||||
date.value = formData.account_date;
|
||||
date.value = $h.formatDate(formData.account_date, "DD.MM.YYYY");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue