refs #7355 #7366 fix account, summary, list, travelList, tooltip

This commit is contained in:
Carlos Satorres 2024-08-30 11:18:48 +02:00
parent 76cb8c6b28
commit 1544513a3e
10 changed files with 20 additions and 10 deletions

View File

@ -408,6 +408,9 @@ defineExpose({
class="row items-center no-wrap"
style="height: 30px"
>
<QTooltip v-if="col.toolTip">{{
col.toolTip
}}</QTooltip>
<VnTableOrder
v-model="orders[col.orderBy ?? col.name]"
:name="col.orderBy ?? col.name"

View File

@ -1126,6 +1126,7 @@ travel:
warehouseIn: Warehouse in
warehouseOut: Warehouse out
totalEntries: Total entries
totalEntriesTooltip: Total entries
summary:
confirmed: Confirmed
entryId: Entry Id

View File

@ -1105,6 +1105,7 @@ travel:
warehouseIn: Alm.salida
warehouseOut: Alm.entrada
totalEntries: Ent.totales
totalEntriesTooltip: Entradas totales
summary:
confirmed: Confirmado
entryId: Id entrada
@ -1269,6 +1270,7 @@ components:
clone: Clonar
openCard: Ficha
openSummary: Detalles
viewSummary: Vista previa
cardDescriptor:
mainList: Listado principal
summary: Resumen

View File

@ -100,7 +100,7 @@ const columns = computed(() => [
name: 'tableActions',
actions: [
{
title: t('component.smartCard.viewSummary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row.id, ClaimSummary),
},

View File

@ -357,7 +357,7 @@ const columns = computed(() => [
isPrimary: true,
},
{
title: t('component.smartCard.viewSummary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row.id, CustomerSummary),
},

View File

@ -176,7 +176,7 @@ const columns = computed(() => [
name: 'tableActions',
actions: [
{
title: t('component.smartCard.viewSummary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row.id, EntrySummary),
isPrimary: true,

View File

@ -122,7 +122,7 @@ const columns = computed(() => [
name: 'tableActions',
actions: [
{
title: t('component.smartCard.viewSummary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row.id, InvoiceOutSummary),
},

View File

@ -185,7 +185,7 @@ const columns = computed(() => [
action: (row) => openTicketsDialog(row?.id),
},
{
title: t('component.smartCard.viewSummary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row?.id, RouteSummary),
},

View File

@ -139,6 +139,8 @@ const columns = computed(() => [
name: 'totalEntries',
label: t('travel.travelList.tableVisibleColumns.totalEntries'),
component: 'input',
attrs: {},
toolTip: t('travel.travelList.tableVisibleColumns.totalEntriesTooltip'),
columnField: {
component: null,
},
@ -158,12 +160,12 @@ const columns = computed(() => [
},
{
title: t('Add entry'),
icon: 'contact_support',
icon: 'vn:ticket',
action: redirectCreateEntryView,
isPrimary: true,
},
{
title: t('View Summary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row.id, TravelSummary),
isPrimary: true,
@ -233,7 +235,7 @@ const columns = computed(() => [
<i18n>
en:
addEntry: Add entry
Add entry: Add entry
searchByIdOrReference: Search by ID or reference
es:
@ -241,10 +243,12 @@ es:
searchByIdOrReference: Buscar por ID o por referencia
You can search by travel id or name: Buscar por envio por id o nombre
Search travel: Buscar envio
Clone: Clonar
Add entry: Añadir Entrada
</i18n>
<style lang="scss" scoped>
.is-active {
color: green;
color: #c8e484;
}
</style>

View File

@ -77,7 +77,7 @@ const columns = computed(() => [
name: 'tableActions',
actions: [
{
title: t('component.smartCard.viewSummary'),
title: t('components.smartCard.viewSummary'),
icon: 'preview',
action: (row) => viewSummary(row.id, WorkerSummary),
},