0
0
Fork 0

refactor: refs #7353 tickets correction

This commit is contained in:
Jorge Penadés 2024-08-29 11:40:42 +02:00
parent eef127ddc8
commit 966667bab7
3 changed files with 12 additions and 3 deletions

View File

@ -94,6 +94,7 @@ globals:
from: From from: From
to: To to: To
notes: Notes notes: Notes
refresh: Refresh
pageTitles: pageTitles:
logIn: Login logIn: Login
summary: Summary summary: Summary

View File

@ -94,6 +94,7 @@ globals:
from: Desde from: Desde
to: Hasta to: Hasta
notes: Notas notes: Notas
refresh: Actualizar
pageTitles: pageTitles:
logIn: Inicio de sesión logIn: Inicio de sesión
summary: Resumen summary: Resumen

View File

@ -11,7 +11,7 @@ import TicketSummary from 'src/pages/Ticket/Card/TicketSummary.vue';
import VnTable from 'components/VnTable/VnTable.vue'; import VnTable from 'components/VnTable/VnTable.vue';
import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import { useSummaryDialog } from 'src/composables/useSummaryDialog';
import { toDateFormat } from 'src/filters/date.js'; import { toDateFormat } from 'src/filters/date.js';
import { toCurrency, dateRange } from 'src/filters'; import { toCurrency, dateRange, dashIfEmpty } from 'src/filters';
import RightMenu from 'src/components/common/RightMenu.vue'; import RightMenu from 'src/components/common/RightMenu.vue';
import MonitorTicketSearchbar from './MonitorTicketSearchbar.vue'; import MonitorTicketSearchbar from './MonitorTicketSearchbar.vue';
import MonitorTicketFilter from './MonitorTicketFilter.vue'; import MonitorTicketFilter from './MonitorTicketFilter.vue';
@ -357,7 +357,9 @@ const openTab = (id) =>
dense dense
flat flat
@click="$refs.tableRef.reload()" @click="$refs.tableRef.reload()"
/> >
<QTooltip>{{ $t('globals.refresh') }}</QTooltip>
</QBtn>
<QCheckbox <QCheckbox
v-model="autoRefresh" v-model="autoRefresh"
:label="$t('salesTicketsTable.autoRefresh')" :label="$t('salesTicketsTable.autoRefresh')"
@ -440,7 +442,7 @@ const openTab = (id) =>
</template> </template>
<template #column-salesPersonFk="{ row }"> <template #column-salesPersonFk="{ row }">
<QTd class="no-padding" @click.stop.prevent :title="row.userName"> <QTd class="no-padding" @click.stop.prevent :title="row.userName">
<span class="link">{{ row.userName }}</span> <span class="link" v-text="dashIfEmpty(row.userName)" />
<WorkerDescriptorProxy :id="row.salesPersonFk" /> <WorkerDescriptorProxy :id="row.salesPersonFk" />
</QTd> </QTd>
</template> </template>
@ -455,6 +457,11 @@ const openTab = (id) =>
</QBadge> </QBadge>
</QTd> </QTd>
</template> </template>
<template #column-provinceFk="{ row }">
<QTd class="no-padding">
<span :title="row.province" v-text="row.province" />
</QTd>
</template>
<template #column-state="{ row }"> <template #column-state="{ row }">
<QTd class="no-padding" @click.stop.prevent> <QTd class="no-padding" @click.stop.prevent>
<div v-if="row.refFk"> <div v-if="row.refFk">