summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.tsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 9bcae8997..c4f3beaf5 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -56,6 +56,7 @@ import {
Row,
SmallLightText,
SubTitle,
+ SuccessBox,
WarningBox,
} from "../components/styled/index.js";
import { Time } from "../components/Time.js";
@@ -629,6 +630,15 @@ export function TransactionView({
)}
</InfoBox>
)}
+ {transaction.posConfirmation ? (
+ <AlertView
+ alert={{
+ type: "info",
+ message: i18n.str`Confirmation code`,
+ description: transaction.posConfirmation as TranslatedString,
+ }}
+ />
+ ) : undefined}
<Part
title={i18n.str`Merchant`}
text={<MerchantDetails merchant={transaction.info.merchant} />}