commit 4d35bb8941cc48b4c17ee1552c0948db69f1e07e
parent f7e56e47149b7f22aad71324d72b16ec72661bf8
Author: Florian Dold <florian@dold.me>
Date: Wed, 14 May 2025 02:09:57 +0200
forms: GLS representative type
Issue: https://bugs.taler.net/n/9368
Diffstat:
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/packages/taler-util/src/taler-form-attributes.ts b/packages/taler-util/src/taler-form-attributes.ts
@@ -549,6 +549,12 @@ export const TalerFormAttributes = {
*/
BUSINESS_PERSONS: "BUSINESS_PERSONS" as const,
/**
+ * Description: List of natural persons that are legal representatives or shareholders.
+ *
+ * GANA Type: LEGAL_REPRESENTATIVE | SHAREHOLDER_GT_25_PERCENT | AUTHORIZED_EMPLOYEE
+ */
+ REPRESENTATIVE_TYPE: "REPRESENTATIVE_TYPE" as const,
+ /**
* Description: DNS domain name owned by the individual or business.
*
* GANA Type: Hostname
diff --git a/packages/web-util/src/forms/gana/GLS_Onboarding.ts b/packages/web-util/src/forms/gana/GLS_Onboarding.ts
@@ -289,6 +289,26 @@ export function GLS_Onboarding(
type: "text",
required: true,
},
+ {
+ id: TalerFormAttributes.REPRESENTATIVE_TYPE,
+ label: i18n.str`Type of representative`,
+ type: "choiceStacked",
+ choices: [
+ {
+ label: "Shareholder (at least 25% of shares)",
+ value: "SHAREHOLDER_GT_25_PERCENT",
+ },
+ {
+ label: "Legal representative",
+ value: "LEGAL_REPRESENTATIVE",
+ },
+ {
+ label: "Authorized employee with account access",
+ value: "AUTHORIZED_EMPLOYEE",
+ },
+ ],
+
+ }
],
required: true,
},