mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
send gdd and send link gdd is running
This commit is contained in:
parent
4c2a609f92
commit
34014affa0
@ -37,7 +37,7 @@
|
||||
</b-row>
|
||||
<b-row class="mt-5 p-5">
|
||||
<b-col>
|
||||
<b-button @click="$emit('on-reset')">{{ $t('back') }}</b-button>
|
||||
<b-button @click="$emit('on-back')">{{ $t('back') }}</b-button>
|
||||
</b-col>
|
||||
<b-col class="text-right">
|
||||
<b-button
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
</b-row>
|
||||
<b-row class="mt-5 p-5">
|
||||
<b-col>
|
||||
<b-button @click="$emit('on-reset')">{{ $t('back') }}</b-button>
|
||||
<b-button @click="$emit('on-back')">{{ $t('back') }}</b-button>
|
||||
</b-col>
|
||||
<b-col class="text-right">
|
||||
<b-button
|
||||
|
||||
@ -144,7 +144,7 @@ export default {
|
||||
this.$emit('set-transaction', {
|
||||
selected: this.radioSelected,
|
||||
email: this.form.email,
|
||||
amount: this.form.amount,
|
||||
amount: Number(this.form.amount.replace(',', '.')),
|
||||
memo: this.form.memo,
|
||||
})
|
||||
},
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<div class="text-center">
|
||||
<div><figure-qr-code :link="link" /></div>
|
||||
<div>
|
||||
<b-button variant="secondary" @click="$emit('on-reset')" class="mt-4" data-test="close-btn">
|
||||
<b-button variant="secondary" @click="$emit('on-back')" class="mt-4" data-test="close-btn">
|
||||
{{ $t('form.close') }}
|
||||
</b-button>
|
||||
</div>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
{{ $t('form.send_transaction_success') }}
|
||||
</div>
|
||||
<div class="text-center mt-5">
|
||||
<b-button variant="primary" @click="$emit('on-reset')">{{ $t('form.close') }}</b-button>
|
||||
<b-button variant="primary" @click="$emit('on-back')">{{ $t('form.close') }}</b-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
:amount="transactionData.amount"
|
||||
:memo="transactionData.memo"
|
||||
@send-transaction="sendTransaction"
|
||||
@on-reset="onReset"
|
||||
@on-back="onBack"
|
||||
></transaction-confirmation-send>
|
||||
</template>
|
||||
<template #transactionConfirmationLink>
|
||||
@ -26,17 +26,17 @@
|
||||
:memo="transactionData.memo"
|
||||
:loading="loading"
|
||||
@send-transaction="sendTransaction"
|
||||
@on-reset="onReset"
|
||||
@on-back="onBack"
|
||||
></transaction-confirmation-link>
|
||||
</template>
|
||||
<template #transactionResultSendSuccess>
|
||||
<transaction-result-send-success @on-reset="onReset"></transaction-result-send-success>
|
||||
<transaction-result-send-success @on-back="onBack"></transaction-result-send-success>
|
||||
</template>
|
||||
<template #transactionResultSendError>
|
||||
<transaction-result-send-error
|
||||
:error="error"
|
||||
:errorResult="errorResult"
|
||||
@on-reset="onReset"
|
||||
@on-back="onBack"
|
||||
></transaction-result-send-error>
|
||||
</template>
|
||||
<template #transactionResultLink>
|
||||
@ -45,7 +45,7 @@
|
||||
:amount="amount"
|
||||
:memo="memo"
|
||||
:validUntil="validUntil"
|
||||
@on-reset="onReset"
|
||||
@on-back="onBack"
|
||||
></transaction-result-link>
|
||||
</template>
|
||||
</gdd-send>
|
||||
@ -169,8 +169,9 @@ export default {
|
||||
}
|
||||
this.loading = false
|
||||
},
|
||||
onReset() {
|
||||
onBack() {
|
||||
this.currentTransactionStep = TRANSACTION_STEPS.transactionForm
|
||||
this.$mount()
|
||||
},
|
||||
updateTransactions(pagination) {
|
||||
this.$emit('update-transactions', pagination)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user