From c52fe7a87047be918327809a3a289e8b2e603c20 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 5 Sep 2024 07:46:47 -0300 Subject: [PATCH] WIP --- src/pages/Ecomerce/BasketView.vue | 2 - src/pages/Ecomerce/ConfirmView.vue | 175 ++++++++++++++++++++++++++- src/pages/Ecomerce/TicketDetails.vue | 15 ++- 3 files changed, 186 insertions(+), 6 deletions(-) diff --git a/src/pages/Ecomerce/BasketView.vue b/src/pages/Ecomerce/BasketView.vue index 3835e6ab..8561e883 100644 --- a/src/pages/Ecomerce/BasketView.vue +++ b/src/pages/Ecomerce/BasketView.vue @@ -128,9 +128,7 @@ onMounted(async () => { diff --git a/src/pages/Ecomerce/ConfirmView.vue b/src/pages/Ecomerce/ConfirmView.vue index 3ce10ec5..51de8e78 100644 --- a/src/pages/Ecomerce/ConfirmView.vue +++ b/src/pages/Ecomerce/ConfirmView.vue @@ -1 +1,174 @@ - + + + + + +en-US: + previousBalance: Previous balance + orderTotal: Order total + orderVat: Order VAT + totalDebt: Total debt + creditExceeded: You have exceeded your credit, in order to prepare your order please pay your debt. +es-ES: + previousBalance: Saldo anterior + orderTotal: Total pedido + orderVat: IVA pedido + totalDebt: Deuda total + creditExceeded: Has excedido tu crédito, por favor realiza el pago para que podamos preparar tu pedido. +ca-ES: + previousBalance: Saldo anterior + orderTotal: Total comanda + orderVat: IVA comanda + totalDebt: Total deute + creditExceeded: Has excedit el teu crèdit, si us plau realitza el pagament perquè puguem preparar la teva comanda. +fr-FR: + previousBalance: Solde précédent + orderTotal: Total de la commande + orderVat: TVA de la commande + totalDebt: Total de la dette + creditExceeded: Vous avez dépassé votre crédit, s'il vous plaît effectuer le paiement afin que nous puissions préparer votre commande. +pt-PT: + previousBalance: Saldo anterior + orderTotal: Total pedido + orderVat: IVA + totalDebt: Total dívida + creditExceeded: Ultrapassastes seu crédito, por favor, faça o pagamento para que possamos preparar sua encomenda. + diff --git a/src/pages/Ecomerce/TicketDetails.vue b/src/pages/Ecomerce/TicketDetails.vue index 132ef740..375827cb 100644 --- a/src/pages/Ecomerce/TicketDetails.vue +++ b/src/pages/Ecomerce/TicketDetails.vue @@ -16,10 +16,18 @@ defineProps({ type: Array, default: () => [] }, + showTotal: { + type: Boolean, + default: true + }, showTax: { type: Boolean, default: true }, + showItems: { + type: Boolean, + default: true + }, canDeleteItems: { type: Boolean, default: false @@ -77,7 +85,7 @@ const deleteRow = id => { {{ ticket.agency }} - +
{{ t('deliveryAddress') }}
@@ -91,7 +99,8 @@ const deleteRow = id => {
{{ t('total') }} {{ currency(ticket.taxBase) }} @@ -100,7 +109,7 @@ const deleteRow = id => { {{ t('totalTax') }} {{ currency(ticket.total) }} - +