forked from verdnatura/salix-front
Merge branch 'feature/ItemRequests' of https://gitea.verdnatura.es/hyervoni/salix-front-mindshore into feature/ItemRequests
This commit is contained in:
commit
4f475a045d
|
@ -17,9 +17,9 @@ const props = defineProps({
|
||||||
});
|
});
|
||||||
|
|
||||||
const stateOptions = [
|
const stateOptions = [
|
||||||
{ code: 'pending', name: t('Pending') },
|
{ code: 'pending', name: t('pending') },
|
||||||
{ code: 'accepted', name: t('Accepted') },
|
{ code: 'accepted', name: t('accepted') },
|
||||||
{ code: 'denied', name: t('Denied') },
|
{ code: 'denied', name: t('denied') },
|
||||||
];
|
];
|
||||||
|
|
||||||
const itemTypesOptions = ref([]);
|
const itemTypesOptions = ref([]);
|
||||||
|
@ -101,7 +101,8 @@ const decrement = (paramsObj, key) => {
|
||||||
<template #tags="{ tag, formatFn }">
|
<template #tags="{ tag, formatFn }">
|
||||||
<div class="q-gutter-x-xs">
|
<div class="q-gutter-x-xs">
|
||||||
<strong>{{ t(`params.${tag.label}`) }}: </strong>
|
<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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #body="{ params, searchFn }">
|
<template #body="{ params, searchFn }">
|
||||||
|
@ -293,6 +294,9 @@ en:
|
||||||
mine: For me
|
mine: For me
|
||||||
state: State
|
state: State
|
||||||
dateFiltersTooltip: Cannot choose a range of dates and days onward at the same time
|
dateFiltersTooltip: Cannot choose a range of dates and days onward at the same time
|
||||||
|
denied: Denied
|
||||||
|
accepted: Accepted
|
||||||
|
pending: Pending
|
||||||
|
|
||||||
es:
|
es:
|
||||||
params:
|
params:
|
||||||
|
@ -308,4 +312,7 @@ es:
|
||||||
mine: Para mi
|
mine: Para mi
|
||||||
state: Estado
|
state: Estado
|
||||||
dateFiltersTooltip: No se puede seleccionar un rango de fechas y días en adelante a la vez
|
dateFiltersTooltip: No se puede seleccionar un rango de fechas y días en adelante a la vez
|
||||||
|
denied: Denegada
|
||||||
|
accepted: Aceptada
|
||||||
|
pending: Pendiente
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
Loading…
Reference in New Issue