From df599f1e8de8d1b4d98ebb4755758ef6d9e462db Mon Sep 17 00:00:00 2001 From: wbuezas Date: Sat, 25 Nov 2023 21:19:22 -0300 Subject: [PATCH] add header options menu in travel summary --- src/i18n/en/index.js | 11 +++--- src/i18n/es/index.js | 11 +++--- src/pages/Travel/Card/TravelSummary.vue | 47 ++++++++++++++++++++----- src/pages/Travel/TravelCreate.vue | 29 ++++++++------- src/pages/Travel/TravelList.vue | 13 ++----- 5 files changed, 73 insertions(+), 38 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 80bb80745..1314666c8 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -424,7 +424,7 @@ export default { comercial: 'Comercial', }, }, - shelving:{ + shelving: { pageTitles: { shelving: 'Shelving', shelvingList: 'Shelving List', @@ -441,14 +441,14 @@ export default { parking: 'Parking', priority: 'Priority', worker: 'Worker', - recyclable: 'Recyclable' + recyclable: 'Recyclable', }, basicData: { code: 'Code', parking: 'Parking', priority: 'Priority', - recyclable: 'Recyclable' - } + recyclable: 'Recyclable', + }, }, worker: { pageTitles: { @@ -637,6 +637,9 @@ export default { delivered: 'Delivered', received: 'Received', entries: 'Entries', + cloneShipping: 'Clone travel', + CloneTravelAndEntries: 'Clone travel and his entries', + AddEntry: 'Add entry', }, }, components: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 6a01cc5a5..edb20feb7 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -426,7 +426,7 @@ export default { comercial: 'Comercial', }, }, - shelving:{ + shelving: { pageTitles: { shelving: 'Carros', shelvingList: 'Listado de carros', @@ -443,14 +443,14 @@ export default { parking: 'Parking', priority: 'Prioridad', worker: 'Trabajador', - recyclable: 'Reciclable' + recyclable: 'Reciclable', }, basicData: { code: 'Código', parking: 'Parking', priority: 'Prioridad', - recyclable: 'Reciclable' - } + recyclable: 'Reciclable', + }, }, worker: { pageTitles: { @@ -639,6 +639,9 @@ export default { delivered: 'Enviada', received: 'Recibida', entries: 'Entradas', + cloneShipping: 'Clonar envío', + CloneTravelAndEntries: 'Clonar travel y sus entradas', + AddEntry: 'Añadir entrada', }, }, components: { diff --git a/src/pages/Travel/Card/TravelSummary.vue b/src/pages/Travel/Card/TravelSummary.vue index c476b6bc0..172b7a9dc 100644 --- a/src/pages/Travel/Card/TravelSummary.vue +++ b/src/pages/Travel/Card/TravelSummary.vue @@ -1,6 +1,6 @@ + +