feat(company-profile): Branchen-Erweiterung, Multi-Select & Zertifizierungen

Multi-Branche-Auswahl im CompanyProfile, erweiterte allowed-facts fuer
Drafting Engine, Demo-Daten und TOM-Generator Anpassungen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-10 11:03:21 +01:00
parent 5da93c5d10
commit 3c0c1e49da
9 changed files with 292 additions and 120 deletions

View File

@@ -702,10 +702,10 @@ export function getAutoFilledScoringAnswers(
}
// industry -> org_industry
if (profile.industry) {
if (profile.industry && profile.industry.length > 0) {
answers.push({
questionId: 'org_industry',
value: profile.industry,
value: profile.industry.join(', '),
})
}
@@ -738,7 +738,7 @@ export function getProfileInfoForBlock(
const items: { label: string; value: string }[] = []
if (blockId === 'organisation') {
if (profile.industry) items.push({ label: 'Branche', value: profile.industry })
if (profile.industry && profile.industry.length > 0) items.push({ label: 'Branche', value: profile.industry.join(', ') })
if (profile.employeeCount) items.push({ label: 'Mitarbeiter', value: profile.employeeCount })
if (profile.annualRevenue) items.push({ label: 'Umsatz', value: profile.annualRevenue })
if (profile.businessModel) items.push({ label: 'Geschäftsmodell', value: profile.businessModel })