From 53a832ae6a4a429e390e8bed229889610b56a633 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 10 Jan 2024 09:54:23 -0300 Subject: [PATCH] supplier consumption submodule --- src/i18n/en/index.js | 5 + src/i18n/es/index.js | 5 + .../Supplier/Card/SupplierConsumption.vue | 170 +++++++++++++++++- src/pages/Travel/ExtraCommunity.vue | 12 +- 4 files changed, 184 insertions(+), 8 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 8d0e0a9cc8..205f919eb2 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -935,6 +935,11 @@ export default { routePrice: 'Route price', minimumKm: 'Minimum Km', }, + consumption: { + entry: 'Entry', + date: 'Date', + reference: 'Reference', + }, }, travel: { pageTitles: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 96e0177a5e..352e670462 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -934,6 +934,11 @@ export default { routePrice: 'Precio ruta', minimumKm: 'Km mínimos', }, + consumption: { + entry: 'Entrada', + date: 'Fecha', + reference: 'Referencia', + }, }, travel: { pageTitles: { diff --git a/src/pages/Supplier/Card/SupplierConsumption.vue b/src/pages/Supplier/Card/SupplierConsumption.vue index 4504c82518..714499f634 100644 --- a/src/pages/Supplier/Card/SupplierConsumption.vue +++ b/src/pages/Supplier/Card/SupplierConsumption.vue @@ -1,12 +1,96 @@ - + es: + Total entry: Total entrada + Open as PDF: Abrir como PDF + Send to email: Enviar por email + This supplier does not have a contact with an email address: Este proveedor no tiene un email de contacto diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue index 62292f115a..b9f4f002e2 100644 --- a/src/pages/Travel/ExtraCommunity.vue +++ b/src/pages/Travel/ExtraCommunity.vue @@ -262,7 +262,16 @@ onMounted(async () => {
- + + + {{ t('Open as PDF') }} + +
@@ -415,4 +424,5 @@ es: physicKg: KG físico shipped: F. envío landed: F. llegada + Open as PDF: Abrir como PDF