bank account date formatted

This commit is contained in:
Komek Hayytnazarov 2023-04-11 08:42:55 +05:00
parent 461844a8f4
commit 76540995c8
1 changed files with 3 additions and 2 deletions

View File

@ -132,7 +132,7 @@
<!-- End column -->
</div>
</div>
<!-- <div v-if="!legalNumber" class="flex flex-row items-center p-5">
<!-- <div v-if="!legalNumber" class="flex flex-row items-center p-5">
<InfoIcon class="w-6 h-6 w-14 text-danger mr-4" />
<span class="font-medium text-danger">{{ $t('LEG_WARN_INFO') }}</span>
</div> -->
@ -264,6 +264,7 @@ const fetchAccount = async () => {
if (data.bank_account) {
Object.assign(bankAccount, data.bank_account);
bankAccount.account_date = $h.formatDate(bankAccount.account_date, "DD.MM.YYYY");
localStorage.setItem("bankAccount", JSON.stringify(bankAccount));
}
@ -293,6 +294,6 @@ const fetchAccount = async () => {
};
onMounted(async () => {
await fetchAccount(); //getAccount();
await fetchAccount();
});
</script>