0
0
Fork 0

refactor: refs #7353 clients correction wip

This commit is contained in:
Jorge Penadés 2024-08-29 12:01:41 +02:00
parent ef1ba2ea4f
commit 7a34309ec6
1 changed files with 8 additions and 3 deletions

View File

@ -56,7 +56,7 @@ const columns = computed(() => [
field: 'dated',
align: 'left',
columnFilter: false,
format: (row) => toDateFormat(row.dated),
format: (row) => toDateFormat(row.dated, 'es-ES', { year: '2-digit' }),
},
{
label: t('salesClientsTable.hour'),
@ -126,8 +126,8 @@ const columns = computed(() => [
>
<template #top-left>
<VnRow>
<VnInputDate v-model="from" label="From" dense style="flex: 0.4" />
<VnInputDate v-model="to" label="To" dense style="flex: 0.4" />
<VnInputDate v-model="from" :label="$t('globals.from')" dense />
<VnInputDate v-model="to" :label="$t('globals.to')" dense />
</VnRow>
</template>
<template #column-salesPersonFk="{ row }">
@ -144,3 +144,8 @@ const columns = computed(() => [
</template>
</VnTable>
</template>
<style lang="scss" scoped>
.full-width .vn-row > * {
flex: 0.4;
}
</style>