diff options
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms/902_15e.ts')
-rw-r--r-- | packages/aml-backoffice-ui/src/forms/902_15e.ts | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/packages/aml-backoffice-ui/src/forms/902_15e.ts b/packages/aml-backoffice-ui/src/forms/902_15e.ts index 502cee8e5..b9796add8 100644 --- a/packages/aml-backoffice-ui/src/forms/902_15e.ts +++ b/packages/aml-backoffice-ui/src/forms/902_15e.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"; -export const v1 = (current: State): FlexibleForm<Form902_15.Form> => ({ +export const v1 = (current: BaseForm): FlexibleForm<Form902_15.Form> => ({ versionId: "2023-05-15", design: [ { @@ -74,7 +74,7 @@ export const v1 = (current: State): FlexibleForm<Form902_15.Form> => ({ name: "holder.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, }, }, { @@ -115,7 +115,7 @@ export const v1 = (current: State): FlexibleForm<Form902_15.Form> => ({ name: "premiumPayer.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, }, }, { @@ -136,15 +136,6 @@ export const v1 = (current: State): FlexibleForm<Form902_15.Form> => ({ }, }, { - 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", @@ -166,9 +157,6 @@ export const v1 = (current: State): FlexibleForm<Form902_15.Form> => ({ v: Partial<Form902_15.Form>, ): FormState<Form902_15.Form> { return { - when: { - disabled: true, - }, }; }, }); @@ -181,7 +169,7 @@ namespace Form902_15 { nationality: string; } - export interface Form extends Simplest.WithResolution { + export interface Form extends BaseForm { contractingPartner: string; contractualRelationship: string; insurancePolicy: string; |