aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/forms/902_13e.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms/902_13e.ts')
-rw-r--r--packages/aml-backoffice-ui/src/forms/902_13e.ts32
1 files changed, 11 insertions, 21 deletions
diff --git a/packages/aml-backoffice-ui/src/forms/902_13e.ts b/packages/aml-backoffice-ui/src/forms/902_13e.ts
index 666cf35d4..f03364de0 100644
--- a/packages/aml-backoffice-ui/src/forms/902_13e.ts
+++ b/packages/aml-backoffice-ui/src/forms/902_13e.ts
@@ -1,10 +1,10 @@
import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util";
import { FormState } from "../handlers/FormProvider.js";
-import { State } from "../pages/AntiMoneyLaunderingForm.js";
+import { BaseForm, } from "../pages/AntiMoneyLaunderingForm.js";
import { FlexibleForm } from "./index.js";
-import { Simplest, resolutionSection } from "./simplest.js";
+import { resolutionSection } from "./simplest.js";
-export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
+export const v1 = (current: BaseForm): FlexibleForm<Form902_13.Form> => ({
versionId: "2023-05-15",
design: [
{
@@ -104,7 +104,7 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
name: "dateOfBirth",
label: "Date of birth" as TranslatedString,
pattern: "dd/MM/yyyy",
- help: "format 'dd/MM/yyyy'" as TranslatedString,
+ // help: "format 'dd/MM/yyyy'" as TranslatedString,
},
},
{
@@ -120,7 +120,8 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
name: "dateOfDeath",
label: "Date of death" as TranslatedString,
pattern: "dd/MM/yyyy",
- help: "if deceased. format 'dd/MM/yyyy'" as TranslatedString,
+ // help: "if deceased. format 'dd/MM/yyyy'" as TranslatedString,
+ help: "if deceased'" as TranslatedString,
},
},
{
@@ -182,7 +183,7 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
name: "dateOfBirth",
label: "Date of birth" as TranslatedString,
pattern: "dd/MM/yyyy",
- help: "format 'dd/MM/yyyy'" as TranslatedString,
+ // help: "format 'dd/MM/yyyy'" as TranslatedString,
},
},
{
@@ -198,7 +199,8 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
name: "dateOfDeath",
label: "Date of death" as TranslatedString,
pattern: "dd/MM/yyyy",
- help: "if deceased. format 'dd/MM/yyyy'" as TranslatedString,
+ help: "if deceased." as TranslatedString,
+ // help: "if deceased. format 'dd/MM/yyyy'" as TranslatedString,
},
},
],
@@ -241,7 +243,7 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
name: "dateOfBirth",
label: "Date of birth" as TranslatedString,
pattern: "dd/MM/yyyy",
- help: "format 'dd/MM/yyyy'" as TranslatedString,
+ // help: "format 'dd/MM/yyyy'" as TranslatedString,
},
},
{
@@ -424,15 +426,6 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
},
},
{
- type: "date",
- props: {
- name: "when",
- label: "Date" as TranslatedString,
- pattern: "dd/MM/yyyy",
- help: "format 'dd/MM/yyyy'" as TranslatedString,
- },
- },
- {
type: "text",
props: {
name: "signature",
@@ -474,9 +467,6 @@ export const v1 = (current: State): FlexibleForm<Form902_13.Form> => ({
};
}),
},
- when: {
- disabled: true,
- },
};
},
});
@@ -507,7 +497,7 @@ namespace Form902_13 {
type Founder = WithRevoke<WithDeath<Person>>;
type Beneficiary = WithClaim<Person>;
- export interface Form extends Simplest.WithResolution {
+ export interface Form extends BaseForm {
contractingPartner: string;
knownAs: string;
boardMember: string;