diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 27 |
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 |