commit 7a04a81ed53cbfa32d46cc6545c45b63cd1346db
parent f1ce52e172858f1623862957dd514df2a319b024
Author: Sebastian <sebasjm@gmail.com>
Date: Fri, 13 Dec 2024 13:53:00 -0300
fix duplicated function after merge
Diffstat:
2 files changed, 46 insertions(+), 22 deletions(-)
diff --git a/packages/kyc-ui/src/forms.json b/packages/kyc-ui/src/forms.json
@@ -371,21 +371,26 @@
"title": "Business industry",
"fields": [
{
- "type": "selectOne",
+ "type": "selectMultiple",
"id": "BUSINESS_INDUSTRY",
"label": "Industry",
- "tooltip": "The values in the menu need to revisited.",
- "choices": [{
- "label": "Car",
- "value": "CAR"
- },{
- "label": "Food",
- "value": "FOOD"
- },{
- "description": "preventing... not doing it",
- "label": "Money laundry",
- "value": "MONEY"
- }],
+ "unique": true,
+ "max": 2,
+ "choices": [
+ {
+ "label": "Car",
+ "value": "CAR"
+ },
+ {
+ "label": "Food",
+ "value": "FOOD"
+ },
+ {
+ "description": "preventing... not doing it",
+ "label": "Money laundry",
+ "value": "MONEY"
+ }
+ ],
"required": true
}
]
@@ -423,22 +428,40 @@
{
"type": "text",
"id": "ADDRESS_TOWN_LOCATION",
- "label": "Building number"
+ "label": "Town location"
},
{
"type": "text",
"id": "ADDRESS_TOWN_DISTRICT",
- "label": "Building number"
+ "label": "Town district"
},
{
"type": "text",
"id": "ADDRESS_COUNTRY_SUBDIVISION",
- "label": "Building number"
+ "label": "Country subdivision"
},
{
- "type": "text",
+ "type": "selectOne",
"id": "ADDRESS_COUNTRY_CC",
- "label": "Building number"
+ "label": "Country",
+ "choices": [
+ {
+ "label": "Germany",
+ "value": "DE"
+ },
+ {
+ "label": "Switzerland",
+ "value": "CH"
+ },
+ {
+ "label": "Spain",
+ "value": "ES"
+ },
+ {
+ "label": "Argentina",
+ "value": "AR"
+ }
+ ]
}
]
},
@@ -483,7 +506,7 @@
{
"type": "array",
"id": "BUSINESS_LEGAL_REPRESENTATIVES",
- "labelFieldId": "PERSON_FULL_NAME",
+ "labelFieldId": "CONTACT_PHONE",
"label": "List of natural persons that are legal representatives or shareholders",
"fields": [
{
@@ -501,12 +524,14 @@
{
"type": "text",
"id": "CONTACT_PHONE",
- "label": "Phone"
+ "label": "Phone",
+ "required": true
},
{
"type": "text",
"id": "CONTACT_EMAIL",
- "label": "E-Mail"
+ "label": "E-Mail",
+ "required": true
},
{
"type": "text",
diff --git a/packages/taler-harness/src/integrationtests/testrunner.ts b/packages/taler-harness/src/integrationtests/testrunner.ts
@@ -153,7 +153,6 @@ import { runWithdrawalHugeTest } from "./test-withdrawal-huge.js";
import { runWithdrawalIdempotentTest } from "./test-withdrawal-idempotent.js";
import { runWithdrawalManualTest } from "./test-withdrawal-manual.js";
import { runWithdrawalPrepareTest } from "./test-withdrawal-prepare.js";
-import { runKycTwoFormsTest } from "./test-kyc-two-forms.js";
/**
* Test runner.