summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-02-13 09:28:42 -0300
committerSebastian <sebasjm@gmail.com>2023-02-13 09:28:42 -0300
commitbb6644367bc014fcc09e44a7b32c2f58861ac835 (patch)
tree570762868d0c2edbaf79a810c6eeadc5a6813dab
parent22cb8adaa6d9584ad7638b9019b6d0c3eb7158bf (diff)
downloadwallet-core-bb6644367bc014fcc09e44a7b32c2f58861ac835.tar.gz
wallet-core-bb6644367bc014fcc09e44a7b32c2f58861ac835.tar.bz2
wallet-core-bb6644367bc014fcc09e44a7b32c2f58861ac835.zip
fix #7468
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.tsx27
1 files changed, 19 insertions, 8 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 94d853d9a..d91f621db 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -413,6 +413,7 @@ export function TransactionView({
{transaction.extendedStatus !==
ExtendedStatus.Pending ? undefined : transaction.withdrawalDetails
.type === WithdrawalType.ManualTransfer ? (
+ //manual withdrawal
<Fragment>
<BankDetailsByPaytoType
amount={raw}
@@ -463,6 +464,7 @@ export function TransactionView({
</WarningBox>
</Fragment>
) : (
+ //integrated bank withdrawal
<Fragment>
{!transaction.withdrawalDetails.confirmed &&
transaction.withdrawalDetails.bankConfirmationUrl ? (
@@ -484,14 +486,23 @@ export function TransactionView({
</div>
</InfoBox>
) : undefined}
- {transaction.withdrawalDetails.confirmed && (
- <InfoBox>
- <i18n.Translate>
- Bank has confirmed the wire transfer. Waiting for the exchange
- to send the coins
- </i18n.Translate>
- </InfoBox>
- )}
+ {transaction.withdrawalDetails.confirmed &&
+ !transaction.withdrawalDetails.reserveIsReady && (
+ <InfoBox>
+ <i18n.Translate>
+ Bank has confirmed the wire transfer. Waiting for the
+ exchange to send the coins
+ </i18n.Translate>
+ </InfoBox>
+ )}
+ {transaction.withdrawalDetails.confirmed &&
+ transaction.withdrawalDetails.reserveIsReady && (
+ <InfoBox>
+ <i18n.Translate>
+ Exchange is ready to send the coins, withdrawal in progress.
+ </i18n.Translate>
+ </InfoBox>
+ )}
</Fragment>
)}
<Part