0
0
Fork 0

Merge branch 'feature/ItemRequests' of https://gitea.verdnatura.es/hyervoni/salix-front-mindshore into feature/ItemRequests

This commit is contained in:
Javier Segarra 2024-04-23 14:12:15 +02:00
commit 4f475a045d
1 changed files with 11 additions and 4 deletions

View File

@ -17,9 +17,9 @@ const props = defineProps({
});
const stateOptions = [
{ code: 'pending', name: t('Pending') },
{ code: 'accepted', name: t('Accepted') },
{ code: 'denied', name: t('Denied') },
{ code: 'pending', name: t('pending') },
{ code: 'accepted', name: t('accepted') },
{ code: 'denied', name: t('denied') },
];
const itemTypesOptions = ref([]);
@ -101,7 +101,8 @@ const decrement = (paramsObj, key) => {
<template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs">
<strong>{{ t(`params.${tag.label}`) }}: </strong>
<span>{{ formatFn(tag.value) }}</span>
<span v-if="tag.label !== 'state'">{{ formatFn(tag.value) }}</span>
<span v-else>{{ t(`${tag.value}`) }}</span>
</div>
</template>
<template #body="{ params, searchFn }">
@ -293,6 +294,9 @@ en:
mine: For me
state: State
dateFiltersTooltip: Cannot choose a range of dates and days onward at the same time
denied: Denied
accepted: Accepted
pending: Pending
es:
params:
@ -308,4 +312,7 @@ es:
mine: Para mi
state: Estado
dateFiltersTooltip: No se puede seleccionar un rango de fechas y días en adelante a la vez
denied: Denegada
accepted: Aceptada
pending: Pendiente
</i18n>