Confirm view adjustments
gitea/hedera-web/pipeline/pr-4922-vueMigration This commit looks good Details

This commit is contained in:
William Buezas 2024-09-12 09:58:45 -03:00
parent c4a64bff91
commit 533c7560dc
7 changed files with 13 additions and 12 deletions

View File

@ -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`,

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -237,13 +237,13 @@ onMounted(async () => {
<QSeparator inset />
<div class="row justify-between text-bold">
<span>{{ t('totalDebt') }}</span>
<span>{{ currency(order.total) }}</span>
<span>{{ currency(totalAmount) }}</span>
</div>
<div class="row justify-between">
<div v-if="order.credit > 0" class="row justify-between">
<span>{{ t('credit') }}</span>
<span>{{ currency(order.credit) }}</span>
</div>
<div v-if="exceededCredit > 0" class="column">
<div v-if="exceededCredit > 0 && order.credit > 0" class="column">
<QSeparator inset />
<div class="row justify-between text-negative text-bold">
<span>{{ t('exceededCredit') }}</span>
@ -255,7 +255,7 @@ onMounted(async () => {
<QRadio
v-model="payAmount"
val="ALL"
:label="`${t('totalDebt')}, ${currency(order.total)}`"
:label="`${t('totalDebt')}, ${currency(totalAmount)}`"
/>
<QRadio
v-model="payAmount"
@ -313,13 +313,14 @@ onMounted(async () => {
:label="t('modify')"
rounded
no-caps
flat
outline
@click="modifyOrder()"
/>
<QBtn
:label="t('confirm')"
rounded
unelevated
no-caps
color="accent"
@click="confirmOrder()"
/>
@ -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

View File

@ -89,7 +89,7 @@ const routes = [
name: 'confirm',
path: '/ecomerce/confirm/:id?',
meta: {
title: 'Confirm'
title: 'OrderSummary'
},
component: () => import('pages/Ecomerce/ConfirmView.vue')
},