tell the user that refund is pending
This commit is contained in:
parent
5ad96b178e
commit
7bb81a008b
@ -607,15 +607,20 @@ export function TransactionView({
|
|||||||
) : undefined}
|
) : undefined}
|
||||||
{pendingRefund !== undefined && Amounts.isNonZero(pendingRefund) && (
|
{pendingRefund !== undefined && Amounts.isNonZero(pendingRefund) && (
|
||||||
<InfoBox>
|
<InfoBox>
|
||||||
|
{transaction.refundQueryActive ? (
|
||||||
|
<i18n.Translate>Refund is in progress.</i18n.Translate>
|
||||||
|
) : (
|
||||||
<i18n.Translate>
|
<i18n.Translate>
|
||||||
Merchant created a refund for this order but was not automatically
|
Merchant created a refund for this order but was not
|
||||||
picked up.
|
automatically picked up.
|
||||||
</i18n.Translate>
|
</i18n.Translate>
|
||||||
|
)}
|
||||||
<Part
|
<Part
|
||||||
title={i18n.str`Offer`}
|
title={i18n.str`Offer`}
|
||||||
text={<Amount value={pendingRefund} />}
|
text={<Amount value={pendingRefund} />}
|
||||||
kind="positive"
|
kind="positive"
|
||||||
/>
|
/>
|
||||||
|
{transaction.refundQueryActive ? undefined : (
|
||||||
<div>
|
<div>
|
||||||
<div />
|
<div />
|
||||||
<div>
|
<div>
|
||||||
@ -630,6 +635,7 @@ export function TransactionView({
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</InfoBox>
|
</InfoBox>
|
||||||
)}
|
)}
|
||||||
<Part
|
<Part
|
||||||
|
Loading…
Reference in New Issue
Block a user