diff options
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms/902_9e.ts')
-rw-r--r-- | packages/aml-backoffice-ui/src/forms/902_9e.ts | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/packages/aml-backoffice-ui/src/forms/902_9e.ts b/packages/aml-backoffice-ui/src/forms/902_9e.ts index 04f0a1572..a5753d5d0 100644 --- a/packages/aml-backoffice-ui/src/forms/902_9e.ts +++ b/packages/aml-backoffice-ui/src/forms/902_9e.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_9.Form> => ({ +export const v1 = (current: BaseForm): FlexibleForm<Form902_9.Form> => ({ versionId: "2023-05-15", design: [ { @@ -19,15 +19,6 @@ export const v1 = (current: State): FlexibleForm<Form902_9.Form> => ({ }, }, { - type: "date", - props: { - name: "when", - pattern: "dd/MM/yyyy", - label: "Date" as TranslatedString, - help: "format 'dd/MM/yyyy'" as TranslatedString, - }, - }, - { type: "caption", props: { label: @@ -61,7 +52,7 @@ export const v1 = (current: State): FlexibleForm<Form902_9.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, }, }, { @@ -110,9 +101,6 @@ export const v1 = (current: State): FlexibleForm<Form902_9.Form> => ({ v: Partial<Form902_9.Form>, ): FormState<Form902_9.Form> { return { - when: { - disabled: true, - }, }; }, }); @@ -125,7 +113,7 @@ namespace Form902_9 { nationality: string; address: string; } - export interface Form extends Simplest.WithResolution { + export interface Form extends BaseForm { contractingPartner: string; persons: Person; signature: string; |