forked from verdnatura/hedera-web
Confirm view adjustments
This commit is contained in:
parent
c4a64bff91
commit
533c7560dc
|
@ -65,7 +65,7 @@ export default {
|
||||||
Shelves: 'Prestatgeries',
|
Shelves: 'Prestatgeries',
|
||||||
Account: 'Compte',
|
Account: 'Compte',
|
||||||
Addresses: 'Adreces',
|
Addresses: 'Adreces',
|
||||||
Confirm: 'Confirmar',
|
OrderSummary: 'Resum de la comanda',
|
||||||
Checkout: `Configurar l'encarrec`,
|
Checkout: `Configurar l'encarrec`,
|
||||||
'Address details': 'Configuració',
|
'Address details': 'Configuració',
|
||||||
'Admin news details': `Afegir o editar notícia`,
|
'Admin news details': `Afegir o editar notícia`,
|
||||||
|
|
|
@ -77,7 +77,7 @@ export default {
|
||||||
Shelves: 'Shelves',
|
Shelves: 'Shelves',
|
||||||
Account: 'Account',
|
Account: 'Account',
|
||||||
Addresses: 'Addresses',
|
Addresses: 'Addresses',
|
||||||
Confirm: 'Confirm',
|
OrderSummary: 'Order summary',
|
||||||
Checkout: 'Configure order',
|
Checkout: 'Configure order',
|
||||||
'Address details': 'Configuration',
|
'Address details': 'Configuration',
|
||||||
'Admin news details': 'Add or edit new',
|
'Admin news details': 'Add or edit new',
|
||||||
|
|
|
@ -83,7 +83,7 @@ export default {
|
||||||
Shelves: 'Estanterías',
|
Shelves: 'Estanterías',
|
||||||
Account: 'Cuenta',
|
Account: 'Cuenta',
|
||||||
Addresses: 'Direcciones',
|
Addresses: 'Direcciones',
|
||||||
Confirm: 'Confirmar',
|
OrderSummary: 'Resumen del pedido',
|
||||||
Checkout: 'Configurar pedido',
|
Checkout: 'Configurar pedido',
|
||||||
'Address details': 'Configuración',
|
'Address details': 'Configuración',
|
||||||
'Admin news details': 'Añadir o editar noticia',
|
'Admin news details': 'Añadir o editar noticia',
|
||||||
|
|
|
@ -65,7 +65,7 @@ export default {
|
||||||
Shelves: 'Étagères',
|
Shelves: 'Étagères',
|
||||||
Account: 'Compte',
|
Account: 'Compte',
|
||||||
Addresses: 'Adresses',
|
Addresses: 'Adresses',
|
||||||
Confirm: 'Confirmer',
|
OrderSummary: 'Résumé de la commande',
|
||||||
Checkout: 'Configurer la commande',
|
Checkout: 'Configurer la commande',
|
||||||
'Address details': 'Configuration',
|
'Address details': 'Configuration',
|
||||||
'Admin news details': 'Ajouter ou éditer une nouvelle',
|
'Admin news details': 'Ajouter ou éditer une nouvelle',
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default {
|
||||||
Shelves: 'Estantes',
|
Shelves: 'Estantes',
|
||||||
Account: 'Conta',
|
Account: 'Conta',
|
||||||
Addresses: 'Moradas',
|
Addresses: 'Moradas',
|
||||||
Confirm: 'Confirme',
|
OrderSummary: 'Resumo da encomenda',
|
||||||
Checkout: 'Configurar encomenda',
|
Checkout: 'Configurar encomenda',
|
||||||
'Address details': 'Configuração',
|
'Address details': 'Configuração',
|
||||||
'Admin news details': 'Adicionar ou editar notícia',
|
'Admin news details': 'Adicionar ou editar notícia',
|
||||||
|
|
|
@ -237,13 +237,13 @@ onMounted(async () => {
|
||||||
<QSeparator inset />
|
<QSeparator inset />
|
||||||
<div class="row justify-between text-bold">
|
<div class="row justify-between text-bold">
|
||||||
<span>{{ t('totalDebt') }}</span>
|
<span>{{ t('totalDebt') }}</span>
|
||||||
<span>{{ currency(order.total) }}</span>
|
<span>{{ currency(totalAmount) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-between">
|
<div v-if="order.credit > 0" class="row justify-between">
|
||||||
<span>{{ t('credit') }}</span>
|
<span>{{ t('credit') }}</span>
|
||||||
<span>{{ currency(order.credit) }}</span>
|
<span>{{ currency(order.credit) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="exceededCredit > 0" class="column">
|
<div v-if="exceededCredit > 0 && order.credit > 0" class="column">
|
||||||
<QSeparator inset />
|
<QSeparator inset />
|
||||||
<div class="row justify-between text-negative text-bold">
|
<div class="row justify-between text-negative text-bold">
|
||||||
<span>{{ t('exceededCredit') }}</span>
|
<span>{{ t('exceededCredit') }}</span>
|
||||||
|
@ -255,7 +255,7 @@ onMounted(async () => {
|
||||||
<QRadio
|
<QRadio
|
||||||
v-model="payAmount"
|
v-model="payAmount"
|
||||||
val="ALL"
|
val="ALL"
|
||||||
:label="`${t('totalDebt')}, ${currency(order.total)}`"
|
:label="`${t('totalDebt')}, ${currency(totalAmount)}`"
|
||||||
/>
|
/>
|
||||||
<QRadio
|
<QRadio
|
||||||
v-model="payAmount"
|
v-model="payAmount"
|
||||||
|
@ -313,13 +313,14 @@ onMounted(async () => {
|
||||||
:label="t('modify')"
|
:label="t('modify')"
|
||||||
rounded
|
rounded
|
||||||
no-caps
|
no-caps
|
||||||
flat
|
outline
|
||||||
@click="modifyOrder()"
|
@click="modifyOrder()"
|
||||||
/>
|
/>
|
||||||
<QBtn
|
<QBtn
|
||||||
:label="t('confirm')"
|
:label="t('confirm')"
|
||||||
rounded
|
rounded
|
||||||
unelevated
|
unelevated
|
||||||
|
no-caps
|
||||||
color="accent"
|
color="accent"
|
||||||
@click="confirmOrder()"
|
@click="confirmOrder()"
|
||||||
/>
|
/>
|
||||||
|
@ -389,7 +390,7 @@ es-ES:
|
||||||
payLater: Pagar más tarde
|
payLater: Pagar más tarde
|
||||||
orderConfirmed: Tu pedido ha sido realizado con éxito
|
orderConfirmed: Tu pedido ha sido realizado con éxito
|
||||||
exceededCredit: Crédito excedido
|
exceededCredit: Crédito excedido
|
||||||
amountToPay: Valor a pagar
|
amountToPay: Cantidad a pagar
|
||||||
ca-ES:
|
ca-ES:
|
||||||
previousBalance: Saldo anterior
|
previousBalance: Saldo anterior
|
||||||
orderTotal: Total comanda
|
orderTotal: Total comanda
|
||||||
|
|
|
@ -89,7 +89,7 @@ const routes = [
|
||||||
name: 'confirm',
|
name: 'confirm',
|
||||||
path: '/ecomerce/confirm/:id?',
|
path: '/ecomerce/confirm/:id?',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'Confirm'
|
title: 'OrderSummary'
|
||||||
},
|
},
|
||||||
component: () => import('pages/Ecomerce/ConfirmView.vue')
|
component: () => import('pages/Ecomerce/ConfirmView.vue')
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue