diff options
Diffstat (limited to 'packages/exchange-backoffice-ui/src/forms/902_11e.ts')
-rw-r--r-- | packages/exchange-backoffice-ui/src/forms/902_11e.ts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/exchange-backoffice-ui/src/forms/902_11e.ts b/packages/exchange-backoffice-ui/src/forms/902_11e.ts index 0e9a28dce..267b5b52d 100644 --- a/packages/exchange-backoffice-ui/src/forms/902_11e.ts +++ b/packages/exchange-backoffice-ui/src/forms/902_11e.ts @@ -1,8 +1,9 @@ import { AbsoluteTime, TranslatedString } from "@gnu-taler/taler-util"; import { FormState } from "../handlers/FormProvider.js"; import { FlexibleForm } from "./index.js"; +import { State } from "../pages/AntiMoneyLaunderingForm.js"; -export const v1: FlexibleForm<Form902_11e.Form> = { +export const v1 = (current: State): FlexibleForm<Form902_11.Form> => ({ versionId: "2023-05-15", design: [ { @@ -115,8 +116,8 @@ export const v1: FlexibleForm<Form902_11e.Form> = { }, ], behavior: function formBehavior( - v: Partial<Form902_11e.Form>, - ): FormState<Form902_11e.Form> { + v: Partial<Form902_11.Form>, + ): FormState<Form902_11.Form> { return { person: { hidden: @@ -128,9 +129,9 @@ export const v1: FlexibleForm<Form902_11e.Form> = { }, }; }, -}; +}); -namespace Form902_11e { +namespace Form902_11 { interface Person { lastName: string; firstName: string; |