15 lines
915 B
TypeScript
15 lines
915 B
TypeScript
/**
|
|
* Canonical sales-pipeline baseline shared by legacy provisioning and the
|
|
* versioned SHK-v2 tenant bootstrap. Keep this module pure so configuration
|
|
* validation can reuse it without importing server or database code.
|
|
*/
|
|
export const DEFAULT_SALES_PIPELINE_STAGES = Object.freeze([
|
|
{ name: "Neu", stageKind: "offen", winProbability: 10, color: "#64748b", position: 10 },
|
|
{ name: "Qualifiziert", stageKind: "offen", winProbability: 30, color: "#0ea5e9", position: 20 },
|
|
{ name: "Angebot", stageKind: "offen", winProbability: 60, color: "#f59e0b", position: 30 },
|
|
{ name: "Gewonnen", stageKind: "gewonnen", winProbability: 100, color: "#16a34a", position: 40 },
|
|
{ name: "Verloren", stageKind: "verloren", winProbability: 0, color: "#dc2626", position: 50 },
|
|
] as const);
|
|
|
|
export const DEFAULT_SALES_LOST_REASONS = ["Preis", "Zeitpunkt", "Kein Bedarf", "Wettbewerber", "Nicht erreichbar"] as const;
|