From 1544513a3e75ab787e3e6e64f81027ad4dbde97c Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 30 Aug 2024 11:18:48 +0200 Subject: [PATCH] refs #7355 #7366 fix account, summary, list, travelList, tooltip --- src/components/VnTable/VnTable.vue | 3 +++ src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 2 ++ src/pages/Claim/ClaimList.vue | 2 +- src/pages/Customer/CustomerList.vue | 2 +- src/pages/Entry/EntryList.vue | 2 +- src/pages/InvoiceOut/InvoiceOutList.vue | 2 +- src/pages/Route/RouteList.vue | 2 +- src/pages/Travel/TravelList.vue | 12 ++++++++---- src/pages/Worker/WorkerList.vue | 2 +- 10 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index af56cf942..83886991c 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -408,6 +408,9 @@ defineExpose({ class="row items-center no-wrap" style="height: 30px" > + {{ + col.toolTip + }} [ name: 'tableActions', actions: [ { - title: t('component.smartCard.viewSummary'), + title: t('components.smartCard.viewSummary'), icon: 'preview', action: (row) => viewSummary(row.id, ClaimSummary), }, diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 0a6234f21..0dc7f09be 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -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), }, diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index efb603d25..2fddc4d64 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -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, diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index c45ac86c1..d4c544c7d 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -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), }, diff --git a/src/pages/Route/RouteList.vue b/src/pages/Route/RouteList.vue index 88961dfab..02b030145 100644 --- a/src/pages/Route/RouteList.vue +++ b/src/pages/Route/RouteList.vue @@ -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), }, diff --git a/src/pages/Travel/TravelList.vue b/src/pages/Travel/TravelList.vue index f503ec90a..96e619e5c 100644 --- a/src/pages/Travel/TravelList.vue +++ b/src/pages/Travel/TravelList.vue @@ -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(() => [ 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 diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index 738f51340..91d96a162 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -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), },