fix: refs #6900 fine tunning #661

Merged
jorgep merged 13 commits from 6900-hotfix-fineTunning into master 2024-09-04 13:58:59 +00:00
2 changed files with 8 additions and 6 deletions
Showing only changes of commit 00beeaf51b - Show all commits

View File

@ -18,7 +18,7 @@ const { t } = useI18n();
<template #form-inputs="{ data, validate }">
<VnRow>
<VnInput
:label="`${t('Code')}`"
:label="`${t('globals.code')}`"
jorgep marked this conversation as resolved Outdated

global.code

global.code
v-model="data.id"
:required="true"
:rules="validate('expense.code')"
@ -33,7 +33,7 @@ const { t } = useI18n();
</VnRow>
<VnRow>
<VnInput
:label="`${t('Description')}`"
:label="`${t('globals.description')}`"
jorgep marked this conversation as resolved Outdated

globals.description

globals.description
v-model="data.name"
:required="true"
:rules="validate('expense.description')"
@ -46,7 +46,5 @@ const { t } = useI18n();
<i18n>
es:
New expense: Nuevo gasto
Code: Código
It's a withholding: Es una retención
Description: Descripción
</i18n>

View File

@ -170,6 +170,7 @@ const formatOpt = (row, { model, options }, prop) => {
:option-value="col.optionValue"
:option-label="col.optionLabel"
:filter-options="['id', 'name']"
:tooltip="t('Create a new expense')"
>
<template #option="scope">
<QItem v-bind="scope.itemProps">
@ -305,6 +306,7 @@ const formatOpt = (row, { model, options }, prop) => {
option-value="id"
option-label="name"
:filter-options="['id', 'name']"
:tooltip="t('Create a new expense')"
>
<template #option="scope">
<QItem v-bind="scope.itemProps">
@ -408,7 +410,9 @@ const formatOpt = (row, { model, options }, prop) => {
size="lg"
round
@click="invoiceInFormRef.insert()"
/>
>
<QTooltip>{{ t('Add tax') }}</QTooltip>
</QBtn>
</QPageSticky>
</template>
@ -448,7 +452,7 @@ const formatOpt = (row, { model, options }, prop) => {
<i18n>
es:
Expense: Gasto
Create expense: Crear gasto
Create a new expense: Crear nuevo gasto
Add tax: Crear gasto
Taxable base: Base imp.
Sage tax: Sage iva