feat: refs #6564 add problems column to TicketAdvance and update localization
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2025-02-04 10:35:08 +01:00
parent aa91209ab7
commit 76b914e6be
3 changed files with 14 additions and 2 deletions

View File

@ -15,6 +15,7 @@ import { toDateFormat } from 'src/filters/date.js';
import axios from 'axios';
import VnTable from 'src/components/VnTable/VnTable.vue';
import { QTable } from 'quasar';
import TicketProblems from 'src/components/TicketProblems.vue';
const state = useState();
const { t } = useI18n();
@ -129,11 +130,17 @@ const ticketColumns = computed(() => [
},
{
align: 'left',
label: t('advanceTickets.futureId'),
name: 'futureId',
label: t('advanceTickets.problems'),
name: 'totalProblems',
headerClass: 'vertical-separator horizontal-separator',
columnClass: 'vertical-separator',
},
{
align: 'left',
label: t('advanceTickets.futureId'),
name: 'futureId',
headerClass: 'horizontal-separator',
},
{
align: 'left',
label: t('advanceTickets.futureIpt'),
@ -550,6 +557,9 @@ watch(
{{ toCurrency(row.totalWithVat || 0) }}
</QBadge>
</template>
<template #column-problems="{ row }">
<TicketProblems :row="row" />
</template>
<template #column-futureId="{ row }">
<QBtn flat class="link" dense>
{{ row.futureId }}

View File

@ -54,6 +54,7 @@ advanceTickets:
search: Search advance tickets
searchInfo: Search advance tickets by ID or client ID
clonedSales: Has turn lines
problems: Problems
futureTickets:
problems: Problems
shipped: Date

View File

@ -92,6 +92,7 @@ advanceTickets:
search: Buscar por tickets adelantados
searchInfo: Buscar tickets adelantados por el identificador o el identificador del cliente
clonedSales: Tiene líneas de turno
problems: Problemas
futureTickets:
problems: Problemas
shipped: Fecha