This commit is contained in:
Sebastian 2023-02-13 09:28:42 -03:00
parent 22cb8adaa6
commit bb6644367b
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -413,6 +413,7 @@ export function TransactionView({
{transaction.extendedStatus !== {transaction.extendedStatus !==
ExtendedStatus.Pending ? undefined : transaction.withdrawalDetails ExtendedStatus.Pending ? undefined : transaction.withdrawalDetails
.type === WithdrawalType.ManualTransfer ? ( .type === WithdrawalType.ManualTransfer ? (
//manual withdrawal
<Fragment> <Fragment>
<BankDetailsByPaytoType <BankDetailsByPaytoType
amount={raw} amount={raw}
@ -463,6 +464,7 @@ export function TransactionView({
</WarningBox> </WarningBox>
</Fragment> </Fragment>
) : ( ) : (
//integrated bank withdrawal
<Fragment> <Fragment>
{!transaction.withdrawalDetails.confirmed && {!transaction.withdrawalDetails.confirmed &&
transaction.withdrawalDetails.bankConfirmationUrl ? ( transaction.withdrawalDetails.bankConfirmationUrl ? (
@ -484,14 +486,23 @@ export function TransactionView({
</div> </div>
</InfoBox> </InfoBox>
) : undefined} ) : undefined}
{transaction.withdrawalDetails.confirmed && ( {transaction.withdrawalDetails.confirmed &&
<InfoBox> !transaction.withdrawalDetails.reserveIsReady && (
<i18n.Translate> <InfoBox>
Bank has confirmed the wire transfer. Waiting for the exchange <i18n.Translate>
to send the coins Bank has confirmed the wire transfer. Waiting for the
</i18n.Translate> exchange to send the coins
</InfoBox> </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> </Fragment>
)} )}
<Part <Part