Skip to content

Commit

Permalink
Fix kyc outreach flow (#58)
Browse files Browse the repository at this point in the history
fixes #57

Signed-off-by: Sean Sundberg <[email protected]>
  • Loading branch information
seansund authored Sep 20, 2023
1 parent 341c692 commit 9a19b64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const KYCCaseDetail: React.FunctionComponent<KYCCaseDetailProps> = (props
return (<KYCCaseReview currentCase={selectedCase} returnUrl={props.basePath} />)
}

if (selectedCase.status === 'Outreach') {
if (selectedCase.status === 'Outreach' || selectedCase.status === 'CustomerOutreach') {
return (<KYCCaseOutreach currentCase={selectedCase} returnUrl={props.basePath} />)
}

Expand Down
12 changes: 11 additions & 1 deletion src/views/KYC/KYCCaseDetail/KYCCaseOutreach/KYCCaseOutreach.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -60,6 +60,16 @@ export const KYCCaseOutreach: React.FunctionComponent<KYCCaseReviewProps> = (pro
readOnly={true}
style={{marginBottom: '20px'}}
/>
<EntityTypeSelect
id="caseCustomerEntityType"
value={props.currentCase.customer.entityType}
readOnly={true}
/>
<IndustryTypeSelect
id="caseCustomerIndustryType"
value={props.currentCase.customer.industryType}
readOnly={true}
/>
<div style={{margin: '10px 0'}}>
<Checkbox
id="caseCustomerOutreach"
Expand Down

0 comments on commit 9a19b64

Please sign in to comment.