+ {IS_PUBLIC_ACCOUNT_ENABLED ? (
+
+ This part of the demo shows how a bank that supports Taler
+ directly would work. In addition to using your own bank
+ account, you can also see the transaction history of some{" "}
+ Public Accounts.
+
+ ) : (
+
+ This part of the demo shows how a bank that supports Taler
+ directly would work.
+
+ )}
+
+ }
+
+
+
+
+
+
+
+
+
-export function InvalidIbanView({error}:State.InvalidIban) {
- return (
-
Payto from server is not valid "{error.data.paytoUri}"
- {IS_PUBLIC_ACCOUNT_ENABLED ? (
-
- This part of the demo shows how a bank that supports Taler
- directly would work. In addition to using your own bank
- account, you can also see the transaction history of some{" "}
- Public Accounts.
-
- ) : (
-
- This part of the demo shows how a bank that supports Taler
- directly would work.
-
- )}
-
+ // {IS_PUBLIC_ACCOUNT_ENABLED ? (
+ //
+ // This part of the demo shows how a bank that supports Taler
+ // directly would work. In addition to using your own bank
+ // account, you can also see the transaction history of some{" "}
+ // Public Accounts.
+ //
+ // ) : (
+ //
+ // This part of the demo shows how a bank that supports Taler
+ // directly would work.
+ //
+ // )}
+ //
,
+ // )}
+ //
+ //
+ //
+ //
+ //
+ //
+ //
+ // {children}
+ //
+ //
+ //
+ //
+ //
+ // You can learn more about GNU Taler on our{" "}
+ // main website.
+ //
- );
-
const parsed = !rawPaytoInput ? undefined : parsePaytoUri(rawPaytoInput);
const errorsPayto = undefinedIfEmpty({
rawPaytoInput: !rawPaytoInput
? i18n.str`required`
: !parsed
- ? i18n.str`does not follow the pattern`
- : !parsed.params.amount
- ? i18n.str`use the "amount" parameter to specify the amount to be transferred`
- : Amounts.parse(parsed.params.amount) === undefined
- ? i18n.str`the amount is not valid`
- : !parsed.params.message
- ? i18n.str`use the "message" parameter to specify a reference text for the transfer`
- : !parsed.isKnown || parsed.targetType !== "iban"
- ? i18n.str`only "IBAN" target are supported`
- : !IBAN_REGEX.test(parsed.iban)
- ? i18n.str`IBAN should have just uppercased letters and numbers`
- : validateIBAN(parsed.iban, i18n),
+ ? i18n.str`does not follow the pattern`
+ : !parsed.params.amount
+ ? i18n.str`use the "amount" parameter to specify the amount to be transferred`
+ : Amounts.parse(parsed.params.amount) === undefined
+ ? i18n.str`the amount is not valid`
+ : !parsed.params.message
+ ? i18n.str`use the "message" parameter to specify a reference text for the transfer`
+ : !parsed.isKnown || parsed.targetType !== "iban"
+ ? i18n.str`only "IBAN" target are supported`
+ : !IBAN_REGEX.test(parsed.iban)
+ ? i18n.str`IBAN should have just uppercased letters and numbers`
+ : validateIBAN(parsed.iban, i18n),
});
+ // if (!isRawPayto) {
+ return (
+
+
Transfer details
+
+
+ {/* */}
+
- return (
-
-
{i18n.str`Transfer money to account identified by payto:// URI:`}