import { ReactNode } from 'react'; import { Bar, BarChart, CartesianGrid, ResponsiveContainer, Tooltip, XAxis, YAxis } from 'recharts'; import { Card } from '@/common/components/atoms/Card/Card'; import { CardHeader } from '@/common/components/atoms/Card/Card.Header'; import { ctw } from '@/common/utils/ctw/ctw'; import { StatsCard } from '@/pages/Home/components/StatsCard/StatsCard'; export const CurrentPortfolioStatus = () => { // if (!isMerchantMonitoringEnabled && !isOngoingMonitoringEnabled) { // return null; // } const activeCasesByStageData = [ { stage: 'Collection In Progress', count: 76 }, { stage: 'Awaiting 3rd Party Data', count: 17 }, { stage: 'Awaiting ID Verification', count: 1 }, { stage: 'Revisions', count: 34 }, { stage: 'Manual Review', count: 41 }, ]; return ( <>

Current Portfolio Status

Active Cases by Onboarding Stage

Number of cases that haven't reached a final decision, by onboarding stage.

90 Day AI Insights

Manual Review Under-Assigned

21 of 41 reviews are unassigned.

Slower Intake Flow

Collection-to-review time up 40% vs. last week.

Faster Revision Handling

Revisions reviewed 20% faster vs. last month.

Review Load Imbalance

Nitzan handles 45% of assigned currently active reviews.

Early Stage Pile-Up

91 cases (40%) are still in collection or waiting on data.

); }; const InsightCard = ({ children, className }: { children: ReactNode; className?: string }) => { return (
{children}
); };