Calculation of total amount prepared after confirmation of payment

This commit is contained in:
ogerly 2021-11-29 22:52:57 +01:00
parent ea4e246448
commit bf389dd5e2
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,8 @@
</template>
<template #transaction-confirmation>
<transaction-confirmation
:balance="balance"
:decay="decay"
:email="transactionData.email"
:amount="transactionData.amount"
:memo="transactionData.memo"

View File

@ -32,6 +32,7 @@
</b-list-group>
</b-col>
</b-row>
<b-row>{{$n(balance, 'decimal')}}, {{ $n(decay, 'decimal') }}, {{ $n(amount, 'decimal') }}</b-row>
<b-row class="mt-4">
<b-col>
<b-button @click="$emit('on-reset')">{{ $t('form.cancel') }}</b-button>
@ -48,6 +49,8 @@
export default {
name: 'TransactionConfirmation',
props: {
balance: { type: Number, default: 0 },
decay: { type: Number, default: 0 },
email: { type: String, default: '' },
amount: { type: Number, default: 0 },
memo: { type: String, default: '' },