mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-12 13:28:55 +00:00
dark and light favicon
This commit is contained in:
parent
ecfaf8e237
commit
2d22478cd2
1 changed files with 16 additions and 0 deletions
|
|
@ -143,6 +143,14 @@ export function DealStageChart({ deals, onOpenTable }: DealStageChartProps) {
|
||||||
stageName = label || "In Coordination"; // Default to "In Coordination" if no label returned
|
stageName = label || "In Coordination"; // Default to "In Coordination" if no label returned
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 🔧 For "Initial Planning" deals, check if coordination status is 'RA ISSUE'
|
||||||
|
if (stageName === "Initial planning") {
|
||||||
|
const coordStatusUpper = d.coordinationStatus?.toUpperCase() ?? "";
|
||||||
|
if (coordStatusUpper === "RA ISSUE") {
|
||||||
|
stageName = "Queries";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
counts[stageName] = (counts[stageName] || 0) + 1;
|
counts[stageName] = (counts[stageName] || 0) + 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -165,6 +173,14 @@ export function DealStageChart({ deals, onOpenTable }: DealStageChartProps) {
|
||||||
stageName = label || "In Coordination"; // Default to "In Coordination" if no label returned
|
stageName = label || "In Coordination"; // Default to "In Coordination" if no label returned
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 🔧 For "Initial Planning" deals, check if coordination status is 'RA ISSUE'
|
||||||
|
if (stageName === "Initial planning") {
|
||||||
|
const coordStatusUpper = d.coordinationStatus?.toUpperCase() ?? "";
|
||||||
|
if (coordStatusUpper === "RA ISSUE") {
|
||||||
|
stageName = "Queries";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return stageName === value.name;
|
return stageName === value.name;
|
||||||
})
|
})
|
||||||
.map((d) => ({
|
.map((d) => ({
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue