diff options
author | Sebastian <sebasjm@gmail.com> | 2023-05-25 18:08:20 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-05-26 09:26:09 -0300 |
commit | 64e3705669e7c12b8013704654f17cf8eaf659d4 (patch) | |
tree | b0572d228b34740f307da4c59e6e5fa0e3e1f808 /packages/exchange-backoffice-ui/src/forms/902_5e.ts | |
parent | dad7d48ed2d7cd6f17466889395b49023e4b5097 (diff) | |
download | wallet-core-64e3705669e7c12b8013704654f17cf8eaf659d4.tar.xz |
cases, account details and new-form screen
Diffstat (limited to 'packages/exchange-backoffice-ui/src/forms/902_5e.ts')
-rw-r--r-- | packages/exchange-backoffice-ui/src/forms/902_5e.ts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/exchange-backoffice-ui/src/forms/902_5e.ts b/packages/exchange-backoffice-ui/src/forms/902_5e.ts index 60bd551d5..8ff72e0c5 100644 --- a/packages/exchange-backoffice-ui/src/forms/902_5e.ts +++ b/packages/exchange-backoffice-ui/src/forms/902_5e.ts @@ -5,8 +5,9 @@ import { } from "@gnu-taler/taler-util"; import { FormState } from "../handlers/FormProvider.js"; import { FlexibleForm, currencyList } from "./index.js"; +import { State } from "../pages/AntiMoneyLaunderingForm.js"; -export const v1: FlexibleForm<Form902_12e.Form> = { +export const v1 = (current: State): FlexibleForm<Form902_5.Form> => ({ versionId: "2023-05-15", design: [ { @@ -230,8 +231,8 @@ export const v1: FlexibleForm<Form902_12e.Form> = { }, ], behavior: function formBehavior( - v: Partial<Form902_12e.Form>, - ): FormState<Form902_12e.Form> { + v: Partial<Form902_5.Form>, + ): FormState<Form902_5.Form> { return { when: { disabled: true, @@ -243,9 +244,9 @@ export const v1: FlexibleForm<Form902_12e.Form> = { }, }; }, -}; +}); -namespace Form902_12e { +namespace Form902_5 { export interface Form { customer: string; fullName: string; |