fix #7579: swap effective and raw on invoice

This commit is contained in:
Sebastian 2023-02-20 11:39:32 -03:00
parent ff9c67c72d
commit 2c57d42128
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -38,7 +38,7 @@ export function ReadyView(
</SubTitle> </SubTitle>
<section style={{ textAlign: "left" }}> <section style={{ textAlign: "left" }}>
<Part title={i18n.str`Subject`} text={<div>{summary}</div>} /> <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 <Part
title={i18n.str`Details`} title={i18n.str`Details`}
text={ text={
@ -54,7 +54,7 @@ export function ReadyView(
/> />
</section> </section>
<PaymentButtons <PaymentButtons
amount={raw} amount={effective}
payStatus={payStatus} payStatus={payStatus}
uri={uri} uri={uri}
payHandler={status === "ready" ? state.accept : undefined} payHandler={status === "ready" ? state.accept : undefined}