From d6a172c4a00b615dce31630bf65e6d62b30f608e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 1 Sep 2022 10:03:23 -0300 Subject: add invoice|transfer created view --- .../src/cta/InvoiceCreate/views.tsx | 39 +++++++++++----------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx') diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx index 3de36b6e9..d3d2c68e4 100644 --- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx +++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx @@ -45,18 +45,26 @@ export function LoadingUriView({ error }: State.LoadingUriError): VNode { ); } -export function ShowQrView({ talerUri, cancel }: State.ShowQr): VNode { +export function CreatedView({ + talerUri, + copyToClipboard, + cancel, +}: State.Created): VNode { const { i18n } = useTranslationContext(); return ( - Digital invoice + Digital cash invoice
-

Scan this QR code with the wallet

+

Show this QR to pay the invoice

+
+ or + +
Close @@ -70,10 +78,9 @@ export function ReadyView({ invalid, exchangeUrl, subject, - showQr, cancel, operationError, - copyToClipboard, + create, toBeReceived, chosenAmount, }: State.Ready): VNode { @@ -142,20 +149,14 @@ export function ReadyView({ />
-

How do you want to send the invoice?

- - - - - - - - - +
-- cgit v1.2.3