gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix duplicated function after


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix duplicated function after merge
Date: Fri, 13 Dec 2024 17:53:07 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 7a04a81ed fix duplicated function after merge
7a04a81ed is described below

commit 7a04a81ed53cbfa32d46cc6545c45b63cd1346db
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Dec 13 13:53:00 2024 -0300

    fix duplicated function after merge
---
 packages/kyc-ui/src/forms.json                     | 67 +++++++++++++++-------
 .../src/integrationtests/testrunner.ts             |  1 -
 2 files changed, 46 insertions(+), 22 deletions(-)

diff --git a/packages/kyc-ui/src/forms.json b/packages/kyc-ui/src/forms.json
index eb77482d6..4559db7a7 100644
--- 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
index 908ab93b3..b7cca16d5 100644
--- 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.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]