From 874cbfea9b47231d41b0c84053aba955f3195dfc Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 30 Aug 2024 12:31:42 +0200 Subject: [PATCH] refs #7366 fix travel hours --- src/i18n/locale/en.yml | 2 ++ src/i18n/locale/es.yml | 2 ++ src/pages/Travel/TravelList.vue | 13 ++++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index d9b8911fdc..30d92f0c11 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -1124,6 +1124,8 @@ travel: agency: Agency shipped: Shipped landed: Landed + shipHour: Shipment Hour + landHour: Landing Hour warehouseIn: Warehouse in warehouseOut: Warehouse out totalEntries: Total entries diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 153dfa840e..6a9c3294ca 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1102,6 +1102,8 @@ travel: ref: Referencia agency: Agencia shipped: F.envío + shipHour: Hora de envío + landHour: Hora de llegada landed: F.entrega warehouseIn: Alm.salida warehouseOut: Alm.entrada diff --git a/src/pages/Travel/TravelList.vue b/src/pages/Travel/TravelList.vue index 96e619e5cb..c7ad908f9b 100644 --- a/src/pages/Travel/TravelList.vue +++ b/src/pages/Travel/TravelList.vue @@ -106,6 +106,12 @@ const columns = computed(() => [ create: true, format: (row, dashIfEmpty) => dashIfEmpty(toDate(row.shipped)), }, + { + align: 'left', + name: 'shipmentHour', + label: t('travel.travelList.tableVisibleColumns.shipHour'), + cardVisible: true, + }, { align: 'left', name: 'warehouseOutFk', @@ -134,12 +140,17 @@ const columns = computed(() => [ create: true, format: (row, dashIfEmpty) => dashIfEmpty(toDate(row.landed)), }, + { + align: 'left', + name: 'landingHour', + label: t('travel.travelList.tableVisibleColumns.landHour'), + cardVisible: true, + }, { align: 'left', name: 'totalEntries', label: t('travel.travelList.tableVisibleColumns.totalEntries'), component: 'input', - attrs: {}, toolTip: t('travel.travelList.tableVisibleColumns.totalEntriesTooltip'), columnField: { component: null,