taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 2c57d4212838b70106f302ecc362a07e870e4068
parent ff9c67c72d8939560f9b5619ae2210841acdf01c
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 20 Feb 2023 11:39:32 -0300

fix #7579: swap effective and raw on invoice

Diffstat:
Mpackages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx b/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx @@ -38,7 +38,7 @@ export function ReadyView( </SubTitle> <section style={{ textAlign: "left" }}> <Part title={i18n.str`Subject`} text={<div>{summary}</div>} /> - <Part title={i18n.str`Amount`} text={<Amount value={effective} />} /> + <Part title={i18n.str`Amount`} text={<Amount value={raw} />} /> <Part title={i18n.str`Details`} text={ @@ -54,7 +54,7 @@ export function ReadyView( /> </section> <PaymentButtons - amount={raw} + amount={effective} payStatus={payStatus} uri={uri} payHandler={status === "ready" ? state.accept : undefined}