// Ein Abschnitt des Berichtsmodells (`ReportSection` aus `export/areaReport.ts`) als Tabelle im Panel. Gemeinsam für die // Flächentabelle (`AreaTableSection`) und den Wohnungsspiegel (`UnitsSection`): was hier steht, steht auch im Export. import type { ReportSection } from "../export/areaReport"; export function ReportTable({ section: s }: { section: ReportSection }) { return (
| {c} | ))}|
|---|---|
| 0 ? s.columns[ci] : undefined} data-span={cardSpan(c, s.columns[ci])} className={ci > 0 && c.length <= 4 ? "num" : undefined}> {c} | ) : (0 ? s.columns[ci] : undefined} data-span={cardSpan("", s.columns[ci])} className="num"> {c.n === null ? "–" : c.n.toFixed(c.d)} | ), )}