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
to: To
notes: Notes
refresh: Refresh
pageTitles:
logIn: Login
summary: Summary

View File

@ -94,6 +94,7 @@ globals:
from: Desde
to: Hasta
notes: Notas
refresh: Actualizar
pageTitles:
logIn: Inicio de sesión
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 { useSummaryDialog } from 'src/composables/useSummaryDialog';
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 MonitorTicketSearchbar from './MonitorTicketSearchbar.vue';
import MonitorTicketFilter from './MonitorTicketFilter.vue';
@ -357,7 +357,9 @@ const openTab = (id) =>
dense
flat
@click="$refs.tableRef.reload()"
/>
>
<QTooltip>{{ $t('globals.refresh') }}</QTooltip>
</QBtn>
<QCheckbox
v-model="autoRefresh"
:label="$t('salesTicketsTable.autoRefresh')"
@ -440,7 +442,7 @@ const openTab = (id) =>
</template>
<template #column-salesPersonFk="{ row }">
<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" />
</QTd>
</template>
@ -455,6 +457,11 @@ const openTab = (id) =>
</QBadge>
</QTd>
</template>
<template #column-provinceFk="{ row }">
<QTd class="no-padding">
<span :title="row.province" v-text="row.province" />
</QTd>
</template>
<template #column-state="{ row }">
<QTd class="no-padding" @click.stop.prevent>
<div v-if="row.refFk">