From 533c7560dcd55e42e172c1af94b7466122cb1420 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 12 Sep 2024 09:58:45 -0300 Subject: [PATCH] Confirm view adjustments --- src/i18n/ca-ES/index.js | 2 +- src/i18n/en-US/index.js | 2 +- src/i18n/es-ES/index.js | 2 +- src/i18n/fr-FR/index.js | 2 +- src/i18n/pt-PT/index.js | 2 +- src/pages/Ecomerce/ConfirmView.vue | 13 +++++++------ src/router/routes.js | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/i18n/ca-ES/index.js b/src/i18n/ca-ES/index.js index 58bab70c..f479b45f 100644 --- a/src/i18n/ca-ES/index.js +++ b/src/i18n/ca-ES/index.js @@ -65,7 +65,7 @@ export default { Shelves: 'Prestatgeries', Account: 'Compte', Addresses: 'Adreces', - Confirm: 'Confirmar', + OrderSummary: 'Resum de la comanda', Checkout: `Configurar l'encarrec`, 'Address details': 'Configuració', 'Admin news details': `Afegir o editar notícia`, diff --git a/src/i18n/en-US/index.js b/src/i18n/en-US/index.js index fec4659c..f6c2c29c 100644 --- a/src/i18n/en-US/index.js +++ b/src/i18n/en-US/index.js @@ -77,7 +77,7 @@ export default { Shelves: 'Shelves', Account: 'Account', Addresses: 'Addresses', - Confirm: 'Confirm', + OrderSummary: 'Order summary', Checkout: 'Configure order', 'Address details': 'Configuration', 'Admin news details': 'Add or edit new', diff --git a/src/i18n/es-ES/index.js b/src/i18n/es-ES/index.js index 03879535..0f4388f3 100644 --- a/src/i18n/es-ES/index.js +++ b/src/i18n/es-ES/index.js @@ -83,7 +83,7 @@ export default { Shelves: 'Estanterías', Account: 'Cuenta', Addresses: 'Direcciones', - Confirm: 'Confirmar', + OrderSummary: 'Resumen del pedido', Checkout: 'Configurar pedido', 'Address details': 'Configuración', 'Admin news details': 'Añadir o editar noticia', diff --git a/src/i18n/fr-FR/index.js b/src/i18n/fr-FR/index.js index 7bb5cd13..3ed13560 100644 --- a/src/i18n/fr-FR/index.js +++ b/src/i18n/fr-FR/index.js @@ -65,7 +65,7 @@ export default { Shelves: 'Étagères', Account: 'Compte', Addresses: 'Adresses', - Confirm: 'Confirmer', + OrderSummary: 'Résumé de la commande', Checkout: 'Configurer la commande', 'Address details': 'Configuration', 'Admin news details': 'Ajouter ou éditer une nouvelle', diff --git a/src/i18n/pt-PT/index.js b/src/i18n/pt-PT/index.js index 3bad5d4e..e5685264 100644 --- a/src/i18n/pt-PT/index.js +++ b/src/i18n/pt-PT/index.js @@ -64,7 +64,7 @@ export default { Shelves: 'Estantes', Account: 'Conta', Addresses: 'Moradas', - Confirm: 'Confirme', + OrderSummary: 'Resumo da encomenda', Checkout: 'Configurar encomenda', 'Address details': 'Configuração', 'Admin news details': 'Adicionar ou editar notícia', diff --git a/src/pages/Ecomerce/ConfirmView.vue b/src/pages/Ecomerce/ConfirmView.vue index 7214a4a6..750864eb 100644 --- a/src/pages/Ecomerce/ConfirmView.vue +++ b/src/pages/Ecomerce/ConfirmView.vue @@ -237,13 +237,13 @@ onMounted(async () => {
{{ t('totalDebt') }} - {{ currency(order.total) }} + {{ currency(totalAmount) }}
-
+
{{ t('credit') }} {{ currency(order.credit) }}
-
+
{{ t('exceededCredit') }} @@ -255,7 +255,7 @@ onMounted(async () => { { :label="t('modify')" rounded no-caps - flat + outline @click="modifyOrder()" /> @@ -389,7 +390,7 @@ es-ES: payLater: Pagar más tarde orderConfirmed: Tu pedido ha sido realizado con éxito exceededCredit: Crédito excedido - amountToPay: Valor a pagar + amountToPay: Cantidad a pagar ca-ES: previousBalance: Saldo anterior orderTotal: Total comanda diff --git a/src/router/routes.js b/src/router/routes.js index efa8fbab..e238a700 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -89,7 +89,7 @@ const routes = [ name: 'confirm', path: '/ecomerce/confirm/:id?', meta: { - title: 'Confirm' + title: 'OrderSummary' }, component: () => import('pages/Ecomerce/ConfirmView.vue') },