From 4ea833ff49437ddb3e490fbd19e4a816d7a6dbe3 Mon Sep 17 00:00:00 2001
From: Nitesh Yadav
{{ regulatoryBasis }}
} @if (!verifying && !matchFound && !errorOccurred) { @@ -69,7 +70,14 @@ import { ClientsService } from 'app/clients/clients.service'; + @if (listDataAsOf) { + + } +{{ regulatoryBasis }}
} @if (!verifying && matchFound) { @@ -96,11 +104,18 @@ import { ClientsService } from 'app/clients/clients.service'; + @if (listDataAsOf) { + + } +{{ regulatoryBasis }}
} @if (!verifying && errorOccurred) { @@ -207,6 +222,15 @@ import { ClientsService } from 'app/clients/clients.service'; text-align: center; } + .regulatory-note { + font-size: 11px; + color: #9ca3af; + line-height: 1.5; + text-align: center; + margin: 8px 0 0; + max-width: 420px; + } + .approve-card { display: flex; flex-direction: column; @@ -524,6 +548,10 @@ export class SanctionsVerifyDialogComponent implements OnInit, OnDestroy { errorOccurred = false; errorMessage = ''; screeningLogId: number | null = null; + listDataAsOf: string | null = null; + + regulatoryBasis = + 'Screened as per Section 51-A of the Unlawful Activities (Prevention) Act, 1967 and the RBI Master Direction on KYC.'; screenedDate = new Date().toLocaleDateString('en-IN', { day: '2-digit', month: 'short', year: 'numeric' }); progressValue = 0; @@ -624,6 +652,13 @@ export class SanctionsVerifyDialogComponent implements OnInit, OnDestroy { 'Unable to connect to sanctions screening service.'; } else { this.screeningLogId = this.apiResult?.screeningLogId || null; + this.listDataAsOf = this.apiResult?.listDataAsOf + ? new Date(this.apiResult.listDataAsOf).toLocaleDateString('en-IN', { + day: '2-digit', + month: 'short', + year: 'numeric' + }) + : null; if (this.apiResult?.matchFound) { this.matchFound = true; this.matchCount = this.apiResult.matchCount || 0;