fix: carry all unit data into + Inserat prefill

When clicking + Inserat in UnitStructurePanel, the new listing form
now pre-populates: floor label, fit-out standard, parking, ceiling
height, Mieterausbaubeitrag, Teilbar toggle, min lettable sqm, and
availability date from the unit and its parent property.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin SutterandClaude Sonnet 4.6 committed 2026-06-09 21:32:54 +02:00
1 parent 87ea4c4dfc
commit 96a2507979
3 files changed
+49 -21

No files matched your search

+9
View File
@@ -49,6 +49,15 @@ export interface LocationState {
rentPricePerSqm?: number
unitLabel?: string
propertyId?: string
floor?: string
fitOut?: string
parking?: number
ceilingHeight?: number
mieterausbaubeitragPerSqm?: number
isFlexible?: boolean
minLettableSqm?: number
availableFrom?: string
softLevels?: Record<string, string>
}
}