[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix #7749
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix #7749 |
Date: |
Mon, 24 Apr 2023 19:53:09 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 974cd0206 fix #7749
974cd0206 is described below
commit 974cd02066edc1a5b8279931d6b019f667051409
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Apr 24 14:53:01 2023 -0300
fix #7749
---
.../src/wallet/Transaction.stories.tsx | 7 +++++++
packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 10 ++++++++++
2 files changed, 17 insertions(+)
diff --git
a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
index 7f8db9066..68c42f821 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
@@ -344,6 +344,13 @@ export const Payment =
tests.createExample(TestedComponent, {
transaction: exampleData.payment,
});
+export const PaymentWithPosConfirmation = tests.createExample(TestedComponent,
{
+ transaction: {
+ ...exampleData.payment,
+ posConfirmation: "123123\n3345345\n567567",
+ },
+});
+
export const PaymentError = tests.createExample(TestedComponent, {
transaction: {
...exampleData.payment,
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} />}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix #7749,
gnunet <=