diff --git a/src/components/anfragencenter/InquiryStatusBadge.tsx b/src/components/anfragencenter/InquiryStatusBadge.tsx deleted file mode 100644 index ec20599..0000000 --- a/src/components/anfragencenter/InquiryStatusBadge.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import { Chip } from '@mui/material' -import type { InquiryStatus } from '../../domain/inquiry' - -const STATUS_MAP: Record = { - new: { label: 'Neu', bg: '#1e40af' }, - in_progress: { label: 'In Bearbeitung', bg: '#d97706' }, - answered: { label: 'Beantwortet', bg: '#1a7a4a' }, - archived: { label: 'Archiviert', bg: '#64748b' }, -} - -interface InquiryStatusBadgeProps { - status: InquiryStatus - size?: 'small' | 'medium' -} - -export function InquiryStatusBadge({ status, size = 'small' }: InquiryStatusBadgeProps) { - const cfg = STATUS_MAP[status] - return ( - - ) -} diff --git a/src/components/anfragencenter/LatentInquiryReportPreview.tsx b/src/components/anfragencenter/LatentInquiryReportPreview.tsx index d582d6a..3543d15 100644 --- a/src/components/anfragencenter/LatentInquiryReportPreview.tsx +++ b/src/components/anfragencenter/LatentInquiryReportPreview.tsx @@ -16,21 +16,42 @@ const FIELD_LABELS: Partial> = { availabilityDate: 'Verfügbar ab', leaseTerm: 'Mietlaufzeit', breakoutOption: 'Breakout-Option', + breakoutOptionDate: 'Breakout Zeitpunkt', currentTenant: 'Aktueller Mieter', propertyNumber: 'Objektnummer', - assetType: 'Objekttyp', + assetType: 'Asset Type', floor: 'Stockwerk', parking: 'Parkplätze', - ceilingHeightM: 'Deckenhöhe', - loadingDocksCount: 'Laderampen', + fitOut: 'Ausbaugrad', + isBarrierFree: 'Barrierefrei', + ceilingHeightM: 'Raumhöhe', + floorLoad: 'Bodenlast', + loadingDocksCount: 'Anlieferung', + goodsLift: 'Warenaufzug', + passengerLift: 'Personenaufzug', powerSupplyKva: 'Stromanschluss', hasServerRoom: 'Serverraum', - isBarrierFree: 'Barrierefrei', - fitOut: 'Ausbaustandard', - publicTransportScore: 'ÖV-Score', + internet: 'Internet', + deliveryAccess: 'Zufahrt', + publicTransportScore: 'ÖV-Anbindung', prestigeScore: 'Prestige', visibilityScore: 'Sichtbarkeit', + footfallScore: 'Passantenfrequenz', + commuterAccessScore: 'Pendlererreichbarkeit', + talentAccessScore: 'Talent Access', + esgScore: 'ESG', + flexibilityScore: 'Flexibilität', + expansionPotentialScore: 'Expansionspotenzial', + taxEnvironmentScore: 'Steuerumfeld', + microLocation: 'Mikrostandort', + competitionEnvironment: 'Konkurrenzumfeld', + infrastructure: 'Infrastruktur', + marketSignals: 'Marktsignale', + negotiationHints: 'Verhandlungshinweise', + missingData: 'Datenlücken', + dataQuality: 'Datenqualität', description: 'Beschreibung', + units: 'Stockwerkstruktur', } function getFieldValue(property: Property, key: ReportObjectFieldKey): string | null { diff --git a/src/components/anfragencenter/RelatedPropertyCardPanel.tsx b/src/components/anfragencenter/RelatedPropertyCardPanel.tsx index 341301c..9ba6f3b 100644 --- a/src/components/anfragencenter/RelatedPropertyCardPanel.tsx +++ b/src/components/anfragencenter/RelatedPropertyCardPanel.tsx @@ -189,9 +189,23 @@ function AdditionalMatchCard({ match }: { match: AdditionalPropertyMatch }) { {match.matchScore}% - - {match.location} · {match.areaSqm.toLocaleString('de-CH')} m² + + {match.location} · {match.areaSqm.toLocaleString('de-CH')} m² · CHF {match.rentPricePerSqm}/m² + {match.reasons.length > 0 && ( + + {match.reasons.map((r, i) => ( + + + {r} + + ))} + + )} + {match.topUncertainty && ( + + ⚠ {match.topUncertainty} + + )}