Skip to content

Commit f526477

Browse files
committed
fix: remove dormant
1 parent 6944e6b commit f526477

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/CRM/CogeBoard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration'
1111

1212
const gcstatuses: gecoStatus[] = ['firm', 'forecast', 'other']
13-
const statuses: CRMStatus[] = ['Cold', 'Qualified', 'Proposal Made', 'SoW Submitted', 'Won', 'Lost', 'Dormant']
13+
const statuses: CRMStatus[] = ['Cold', 'Qualified', 'Proposal Made', 'SoW Submitted', 'Won', 'Lost']
1414

1515
type CogeBoardProps = {
1616
initialData: BoardData
@@ -50,7 +50,7 @@ export function CRMCogeBoard({
5050
'SoW Submitted': 0.8,
5151
Won: 1,
5252
Lost: 0,
53-
Dormant: 0,
53+
// Dormant: 0,
5454
}
5555
return deals.reduce((sum, deal) => sum + (deal.value || 0) * (weightMap[deal.status] ?? 0), 0)
5656
}

src/payload-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,7 @@ export interface Deal {
16561656
customer?: (number | null) | Customer;
16571657
value: number;
16581658
assignee?: (number | null) | User;
1659-
status: 'Cold' | 'Qualified' | 'Proposal Made' | 'SoW Submitted' | 'Won' | 'Lost' | 'Dormant';
1659+
status: 'Cold' | 'Qualified' | 'Proposal Made' | 'SoW Submitted' | 'Won' | 'Lost';
16601660
gecoStatus?: ('firm' | 'forecast' | 'other') | null;
16611661
categories?: (number | DealCategory)[] | null;
16621662
dateLogged: string;

0 commit comments

Comments
 (0)