From e4de78280d8c9a0b7ec8ed14c7938e1394ae5595 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Thu, 5 Feb 2026 14:57:19 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Neuer=C3=B6ffnung=20column=20to=20use=20n?= =?UTF-8?q?ewOpeningInAuditPeriod=20from=20API=20(#948)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the backend-computed newOpeningInAuditPeriod boolean instead of checking amlListReactivatedDate for the Neueröffnung column. --- src/hooks/compliance.hook.ts | 1 + src/screens/compliance-kyc-files-details.screen.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hooks/compliance.hook.ts b/src/hooks/compliance.hook.ts index dfcd36c9..e30b63f6 100644 --- a/src/hooks/compliance.hook.ts +++ b/src/hooks/compliance.hook.ts @@ -162,6 +162,7 @@ export interface KycFileListEntry { amlListAddedDate?: string; amlListExpiredDate?: string; amlListReactivatedDate?: string; + newOpeningInAuditPeriod?: boolean; highRisk?: boolean; pep?: boolean; complexOrgStructure?: boolean; diff --git a/src/screens/compliance-kyc-files-details.screen.tsx b/src/screens/compliance-kyc-files-details.screen.tsx index 30a8b346..aaf53c8a 100644 --- a/src/screens/compliance-kyc-files-details.screen.tsx +++ b/src/screens/compliance-kyc-files-details.screen.tsx @@ -112,7 +112,7 @@ export default function ComplianceKycFilesDetailsScreen(): JSX.Element { isShellCompany(entry) ? 'Ja' : 'Nein', formatDate(entry.amlListAddedDate), formatDate(entry.amlListExpiredDate), - entry.amlListReactivatedDate ? 'Ja' : 'Nein', + entry.newOpeningInAuditPeriod ? 'Ja' : 'Nein', entry.highRisk ? 'Ja' : 'Nein', entry.pep ? 'Ja' : 'Nein', entry.complexOrgStructure ? 'Ja' : 'Nein', @@ -315,7 +315,7 @@ export default function ComplianceKycFilesDetailsScreen(): JSX.Element { {formatDate(entry.amlListExpiredDate)}