aboutsummaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/forms/902_5e.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-16 01:23:44 -0300
committerSebastian <sebasjm@gmail.com>2023-05-16 01:23:44 -0300
commit245ab840baf1926ef2c03a8965fce85012887d92 (patch)
tree1acec43e991100292f82db241eec70d073b6365b /packages/exchange-backoffice-ui/src/forms/902_5e.ts
parent02fb71c0ff69d293911f4b0945ab964a87402d0c (diff)
downloadwallet-core-245ab840baf1926ef2c03a8965fce85012887d92.tar.xz
one form left
Diffstat (limited to 'packages/exchange-backoffice-ui/src/forms/902_5e.ts')
-rw-r--r--packages/exchange-backoffice-ui/src/forms/902_5e.ts246
1 files changed, 238 insertions, 8 deletions
diff --git a/packages/exchange-backoffice-ui/src/forms/902_5e.ts b/packages/exchange-backoffice-ui/src/forms/902_5e.ts
index 20013e727..60bd551d5 100644
--- a/packages/exchange-backoffice-ui/src/forms/902_5e.ts
+++ b/packages/exchange-backoffice-ui/src/forms/902_5e.ts
@@ -1,20 +1,32 @@
-import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
-import { FlexibleForm, languageList } from "./index.js";
+import {
+ AbsoluteTime,
+ AmountJson,
+ TranslatedString,
+} from "@gnu-taler/taler-util";
import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm, currencyList } from "./index.js";
export const v1: FlexibleForm<Form902_12e.Form> = {
versionId: "2023-05-15",
design: [
{
- title: "5" as TranslatedString,
+ title: "Customer Profile" as TranslatedString,
description:
- "for operating legal entities and partnership that are contracting partner as well as analogously for operating legal entities and partnership that are beneficial owners." as TranslatedString,
+ "The information below has to refer to the persons from whom the assets originate ultimately (e.g. beneficial owner of the assets, founder/creator of a trust or foundation). Is the customer an operational legal entity or partnership the information may refer to the entity itself (not to the controlling person), unless the entity holds the assets in trust for a third party." as TranslatedString,
fields: [
{
- type: "textArea",
+ type: "text",
+ props: {
+ name: "customer",
+ label: "Customer" as TranslatedString,
+ help: "Pursuant Identification Form (VQF doc. No. 902.1) numeral 1" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
props: {
- name: "contractingPartner",
- label: "Contracting partner" as TranslatedString,
+ name: "fullName",
+ label: "Full name" as TranslatedString,
},
},
{
@@ -28,6 +40,194 @@ export const v1: FlexibleForm<Form902_12e.Form> = {
},
],
},
+ {
+ title: "Business activity" as TranslatedString,
+ fields: [
+ {
+ type: "textArea",
+ props: {
+ label: "Profession, business activities" as TranslatedString,
+ name: "businessActivity",
+ help: "former, current, potentially planned" as TranslatedString,
+ },
+ },
+ ],
+ },
+ {
+ title: "Financial circumstances" as TranslatedString,
+ fields: [
+ {
+ type: "textArea",
+ props: {
+ label: "Income and assets, liabilities" as TranslatedString,
+ name: "financial",
+ help: "estimated" as TranslatedString,
+ },
+ },
+ ],
+ },
+ {
+ title: "Origin of the deposited assets involved" as TranslatedString,
+ fields: [
+ {
+ type: "text",
+ props: {
+ label: "Nature" as TranslatedString,
+ name: "originOfAssets.nature",
+ help: "nature of the involved assets" as TranslatedString,
+ },
+ },
+ {
+ type: "selectOne",
+ props: {
+ name: "originOfAssets.currency",
+ label: "Currency" as TranslatedString,
+ choices: currencyList,
+ },
+ },
+ {
+ type: "integer",
+ props: {
+ label: "Amount" as TranslatedString,
+ name: "originOfAssets.amount",
+ },
+ },
+ {
+ type: "choiceStacked",
+ props: {
+ label: "Category" as TranslatedString,
+ name: "originOfAssets.category",
+ choices: [
+ {
+ label: "Savings" as TranslatedString,
+ value: "savings",
+ },
+ {
+ label: "Own business operations" as TranslatedString,
+ value: "own-business",
+ },
+ {
+ label: "Inheritance" as TranslatedString,
+ value: "inheritance",
+ },
+ {
+ label: "Other, what?" as TranslatedString,
+ value: "other",
+ },
+ ],
+ },
+ },
+ {
+ type: "text",
+ props: {
+ label: "Other category" as TranslatedString,
+ name: "originOfAssets.categoryOther",
+ required: true,
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Detailed description of the origins/economical background of the assets involved in the business relationship" as TranslatedString,
+ name: "originOfAssets.details",
+ },
+ },
+ ],
+ },
+ {
+ title:
+ "Nature and purpose of the business relationship" as TranslatedString,
+ fields: [
+ {
+ type: "textArea",
+ props: {
+ label: "Purpose of the business relationship" as TranslatedString,
+ name: "nature.purpose",
+ help: "nature of the involved assets" as TranslatedString,
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Information on the planned development of the business relationship and the assets" as TranslatedString,
+ name: "nature.plan",
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Especially in the case of cash or money and asset transfer transactions with regular customers: Details on usual business volume, Information on the beneficiaries, (Full name, address, bank account)" as TranslatedString,
+ name: "nature.cashOrMoneyTransfer",
+ },
+ },
+ ],
+ },
+ {
+ title: "Relationship with third parties" as TranslatedString,
+ fields: [
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Relation of the customer to the beneficial owner involved in the business relationship" as TranslatedString,
+ name: "relations.beneficialOwners",
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Relation of the customer to the controlling persons involved in the business relationship" as TranslatedString,
+ name: "relations.controllingPersons",
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Relation of the customer to the authorized signatories involved in the business relationship" as TranslatedString,
+ name: "relations.authorizedSignatories",
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label:
+ "Relation of the customer to other persons involved in the business relationship" as TranslatedString,
+ name: "relations.otherPersons",
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label: "Relation to other AMLA-Files" as TranslatedString,
+ name: "relations.withOtherAmlaFiles",
+ },
+ },
+ {
+ type: "textArea",
+ props: {
+ label: "Introducer / agents / references" as TranslatedString,
+ name: "relations.references",
+ },
+ },
+ ],
+ },
+ {
+ title: "Further information" as TranslatedString,
+ fields: [
+ {
+ type: "textArea",
+ props: {
+ label: "Other relevant information" as TranslatedString,
+ name: "furtherInformation",
+ },
+ },
+ ],
+ },
],
behavior: function formBehavior(
v: Partial<Form902_12e.Form>,
@@ -36,13 +236,43 @@ export const v1: FlexibleForm<Form902_12e.Form> = {
when: {
disabled: true,
},
+ originOfAssets: {
+ categoryOther: {
+ hidden: v.originOfAssets?.category !== "other",
+ },
+ },
};
},
};
namespace Form902_12e {
export interface Form {
- contractingPartner: string;
+ customer: string;
+ fullName: string;
when: AbsoluteTime;
+ businessActivity: string;
+ financial: string;
+ originOfAssets: {
+ nature: string;
+ currency: string;
+ amount: number;
+ category: "savings" | "own-business" | "inheritance" | "other";
+ categoryOther: string;
+ details: string;
+ };
+ nature: {
+ purpose: string;
+ plan: string;
+ cashOrMoneyTransfer: string;
+ };
+ relations: {
+ beneficialOwners: string;
+ controllingPersons: string;
+ authorizedSignatories: string;
+ otherPersons: string;
+ withOtherAmlaFiles: string;
+ references: string;
+ };
+ furtherInformation: string;
}
}