taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit bb6644367bc014fcc09e44a7b32c2f58861ac835
parent 22cb8adaa6d9584ad7638b9019b6d0c3eb7158bf
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 13 Feb 2023 09:28:42 -0300

fix #7468

Diffstat:
Mpackages/taler-wallet-webextension/src/wallet/Transaction.tsx | 27+++++++++++++++++++--------
1 file 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 @@ -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