From 963cdb18c10e4c45de7df3b48727c70395e9025f Mon Sep 17 00:00:00 2001 From: Sean Sundberg Date: Wed, 20 Sep 2023 13:31:05 -0500 Subject: [PATCH] Fix kyc outreach flow fixes #57 Signed-off-by: Sean Sundberg --- src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx | 2 +- .../KYCCaseOutreach/KYCCaseOutreach.tsx | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx b/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx index 0121c38..b1e29ef 100644 --- a/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx +++ b/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx @@ -63,7 +63,7 @@ export const KYCCaseDetail: React.FunctionComponent = (props return () } - if (selectedCase.status === 'Outreach') { + if (selectedCase.status === 'Outreach' || selectedCase.status === 'CustomerOutreach') { return () } diff --git a/src/views/KYC/KYCCaseDetail/KYCCaseOutreach/KYCCaseOutreach.tsx b/src/views/KYC/KYCCaseDetail/KYCCaseOutreach/KYCCaseOutreach.tsx index 1cc5aae..7cb2689 100644 --- a/src/views/KYC/KYCCaseDetail/KYCCaseOutreach/KYCCaseOutreach.tsx +++ b/src/views/KYC/KYCCaseDetail/KYCCaseOutreach/KYCCaseOutreach.tsx @@ -5,7 +5,7 @@ import {useNavigate} from "react-router-dom"; import {Button, Checkbox, FileUploader, Form, TextInput} from "@carbon/react"; import './KYCCaseOutreach.scss'; -import {CountrySelect, DocumentList, Stack} from "../../../../components"; +import {CountrySelect, DocumentList, EntityTypeSelect, IndustryTypeSelect, Stack} from "../../../../components"; import {ApproveCaseModel, createEmptyApproveCase, KycCaseModel,} from "../../../../models"; import {KycCaseManagementApi, kycCaseManagementApi} from "../../../../services"; import {handleFileUploaderChange} from "../util"; @@ -60,6 +60,16 @@ export const KYCCaseOutreach: React.FunctionComponent = (pro readOnly={true} style={{marginBottom: '20px'}} /> + +