aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/forms/902_15e.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-06-05 10:04:09 -0300
committerSebastian <sebasjm@gmail.com>2023-06-05 10:04:09 -0300
commitc680f5aa71b08e978444df07f93c381f9d47ab82 (patch)
tree81903fac003bb1e202cf69551e06ba41a6e960a5 /packages/aml-backoffice-ui/src/forms/902_15e.ts
parentdf53866e6b148ea5fd2ab57e906a4aa36b535ed3 (diff)
downloadwallet-core-c680f5aa71b08e978444df07f93c381f9d47ab82.tar.xz
rename aml
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms/902_15e.ts')
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_15e.ts197
1 files changed, 197 insertions, 0 deletions
diff --git a/packages/aml-backoffice-ui/src/forms/902_15e.ts b/packages/aml-backoffice-ui/src/forms/902_15e.ts
new file mode 100644
index 000000000..19a16d3f2
--- /dev/null
+++ b/packages/aml-backoffice-ui/src/forms/902_15e.ts
@@ -0,0 +1,197 @@
+import {
+ AbsoluteTime,
+ AmountJson,
+ TranslatedString,
+} from "@gnu-taler/taler-util";
+import { FormState } from "../handlers/FormProvider.js";
+import { FlexibleForm } from "./index.js";
+import { State } from "../pages/AntiMoneyLaunderingForm.js";
+import { AmlState } from "../types.js";
+import { Simplest, resolutionSection } from "./simplest.js";
+
+export const v1 = (current: State): FlexibleForm<Form902_15.Form> => ({
+ versionId: "2023-05-15",
+ design: [
+ {
+ title:
+ "Information on life insurance policies with separately managed accounts/securities accounts" as TranslatedString,
+ fields: [
+ {
+ type: "textArea",
+ props: {
+ name: "contractingPartner",
+ label: "Contracting partner" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "contractualRelationship",
+ label:
+ "Name or number of the contractual relationship between the contracting party and the financial intermediary" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "insurancePolicy",
+ label: "Insurance policy" as TranslatedString,
+ },
+ },
+ {
+ type: "caption",
+ props: {
+ label:
+ "The contracting partner confirms in accordance with Art. 41a SRO Regulations that it is a licensed and state-supervised insurance company and that it has entered into the above-mentioned contractual relationship the assets connected to the life insurance policy also mentioned above." as TranslatedString,
+ },
+ },
+ {
+ type: "caption",
+ props: {
+ label:
+ "In relation with the above insurance policy, the contracting partner gives the following further details" as TranslatedString,
+ },
+ },
+ {
+ type: "group",
+ props: {
+ before: "Policy holder" as TranslatedString,
+ fields: [
+ {
+ type: "text",
+ props: {
+ name: "holder.fullName",
+ label:
+ "Last name(s), first name(s)/entity" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "holder.address",
+ label:
+ "Actual address of domicile/registered office (incl. country)" as TranslatedString,
+ },
+ },
+ {
+ type: "date",
+ props: {
+ name: "holder.dateOfBirth",
+ label: "Date of birth" as TranslatedString,
+ pattern: "dd/MM/yyyy",
+ help: "format 'dd/MM/yyyy'" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "holder.nationality",
+ label: "Nationality" as TranslatedString,
+ },
+ },
+ ],
+ },
+ },
+ {
+ type: "group",
+ props: {
+ before:
+ "Person actually (not in a fiduciary capacity) paying the premiums (to be filled in if not identical with point 1 above)" as TranslatedString,
+ fields: [
+ {
+ type: "text",
+ props: {
+ name: "premiumPayer.fullName",
+ label:
+ "Last name(s), first name(s)/entity" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "premiumPayer.address",
+ label:
+ "Actual address of domicile/registered office (incl. country)" as TranslatedString,
+ },
+ },
+ {
+ type: "date",
+ props: {
+ name: "premiumPayer.dateOfBirth",
+ label: "Date of birth" as TranslatedString,
+ pattern: "dd/MM/yyyy",
+ help: "format 'dd/MM/yyyy'" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "premiumPayer.nationality",
+ label: "Nationality" as TranslatedString,
+ },
+ },
+ ],
+ },
+ },
+ {
+ type: "caption",
+ props: {
+ label:
+ "The contracting partner hereby undertakes to automatically inform the financial intermediary of any changes. The contracting partner hereby also declares having been given permission by the above individuals and/or entities to transmit their data to the financial intermediary" as TranslatedString,
+ },
+ },
+ {
+ type: "date",
+ props: {
+ name: "when",
+ pattern: "dd/MM/yyyy",
+ label: "Date" as TranslatedString,
+ help: "format 'dd/MM/yyyy'" as TranslatedString,
+ },
+ },
+ {
+ type: "text",
+ props: {
+ name: "signature",
+ label: "Signature" as TranslatedString,
+ },
+ },
+ {
+ type: "caption",
+ props: {
+ label:
+ "It is a criminal offense to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, document forgery)" as TranslatedString,
+ },
+ },
+ ],
+ },
+ resolutionSection(current),
+ ],
+ behavior: function formBehavior(
+ v: Partial<Form902_15.Form>,
+ ): FormState<Form902_15.Form> {
+ return {
+ when: {
+ disabled: true,
+ },
+ };
+ },
+});
+
+namespace Form902_15 {
+ interface Person {
+ fullName: string;
+ address: string;
+ dateOfBirth: AbsoluteTime;
+ nationality: string;
+ }
+
+ export interface Form extends Simplest.WithResolution {
+ contractingPartner: string;
+ contractualRelationship: string;
+ insurancePolicy: string;
+ holder: Person;
+ premiumsPayer: Person;
+ signature: string;
+ }
+}