aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/forms/902_15e.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms/902_15e.ts')
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_15e.ts52
1 files changed, 26 insertions, 26 deletions
diff --git a/packages/aml-backoffice-ui/src/forms/902_15e.ts b/packages/aml-backoffice-ui/src/forms/902_15e.ts
index 88bf769ef..98609852b 100644
--- a/packages/aml-backoffice-ui/src/forms/902_15e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_15e.ts
@@ -1,19 +1,19 @@
-import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
-import { FlexibleForm } from "@gnu-taler/web-util/browser";
-import { BaseForm } from "../pages/AntiMoneyLaunderingForm.js";
+import type { AbsoluteTime } from "@gnu-taler/taler-util";
+import type { FlexibleForm, InternationalizationAPI } from "@gnu-taler/web-util/browser";
+import { BaseForm } from "./index.js";
import { resolutionSection } from "./simplest.js";
-export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
+export const v1 = (i18n: InternationalizationAPI) => (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
design: [
{
title:
- "Information on life insurance policies with separately managed accounts/securities accounts" as TranslatedString,
+ i18n.str`Information on life insurance policies with separately managed accounts/securities accounts`,
fields: [
{
type: "textArea",
props: {
name: "contractingPartner",
- label: "Contracting partner" as TranslatedString,
+ label: i18n.str`Contracting partner`,
},
},
{
@@ -21,41 +21,41 @@ export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
props: {
name: "contractualRelationship",
label:
- "Name or number of the contractual relationship between the contracting party and the financial intermediary" as TranslatedString,
+ i18n.str`Name or number of the contractual relationship between the contracting party and the financial intermediary`,
},
},
{
type: "text",
props: {
name: "insurancePolicy",
- label: "Insurance policy" as TranslatedString,
+ label: i18n.str`Insurance policy`,
},
},
{
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,
+ i18n.str`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.`,
},
},
{
type: "caption",
props: {
label:
- "In relation with the above insurance policy, the contracting partner gives the following further details" as TranslatedString,
+ i18n.str`In relation with the above insurance policy, the contracting partner gives the following further details`,
},
},
{
type: "group",
props: {
- before: "Policy holder" as TranslatedString,
+ before: i18n.str`Policy holder`,
fields: [
{
type: "text",
props: {
name: "holder.fullName",
label:
- "Last name(s), first name(s)/entity" as TranslatedString,
+ i18n.str`Last name(s), first name(s)/entity`,
},
},
{
@@ -63,23 +63,23 @@ export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
props: {
name: "holder.address",
label:
- "Actual address of domicile/registered office (incl. country)" as TranslatedString,
+ i18n.str`Actual address of domicile/registered office (incl. country)`,
},
},
{
type: "absoluteTime",
props: {
name: "holder.dateOfBirth",
- label: "Date of birth" as TranslatedString,
+ label: i18n.str`Date of birth`,
pattern: "dd/MM/yyyy",
- // help: "format 'dd/MM/yyyy'" as TranslatedString,
+ // help: i18n.str`format 'dd/MM/yyyy'`,
},
},
{
type: "text",
props: {
name: "holder.nationality",
- label: "Nationality" as TranslatedString,
+ label: i18n.str`Nationality`,
},
},
],
@@ -89,14 +89,14 @@ export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
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,
+ i18n.str`Person actually (not in a fiduciary capacity) paying the premiums (to be filled in if not identical with point 1 above)`,
fields: [
{
type: "text",
props: {
name: "premiumPayer.fullName",
label:
- "Last name(s), first name(s)/entity" as TranslatedString,
+ i18n.str`Last name(s), first name(s)/entity`,
},
},
{
@@ -104,23 +104,23 @@ export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
props: {
name: "premiumPayer.address",
label:
- "Actual address of domicile/registered office (incl. country)" as TranslatedString,
+ i18n.str`Actual address of domicile/registered office (incl. country)`,
},
},
{
type: "absoluteTime",
props: {
name: "premiumPayer.dateOfBirth",
- label: "Date of birth" as TranslatedString,
+ label: i18n.str`Date of birth`,
pattern: "dd/MM/yyyy",
- // help: "format 'dd/MM/yyyy'" as TranslatedString,
+ // help: i18n.str`format 'dd/MM/yyyy'`,
},
},
{
type: "text",
props: {
name: "premiumPayer.nationality",
- label: "Nationality" as TranslatedString,
+ label: i18n.str`Nationality`,
},
},
],
@@ -130,26 +130,26 @@ export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({
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,
+ i18n.str`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`,
},
},
{
type: "text",
props: {
name: "signature",
- label: "Signature" as TranslatedString,
+ label: i18n.str`Signature`,
},
},
{
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,
+ i18n.str`It is a criminal offense to deliberately provide false information on this form (article 251 of the Swiss Criminal Code, document forgery)`,
},
},
],
},
- resolutionSection(current),
+ resolutionSection(current, i18n),
],
});