import type { ReactNode } from "react"; import type { ForecastMonth } from "@/lib/forecast-queries"; export function ForecastChart({ data, headerAction, }: { data: ForecastMonth[]; headerAction?: ReactNode; }) { const max = Math.max(...data.map((d) => d.total), 1); // index 1 = mese prossimo (evidenziato) return (
Stima basata su retainer attivi e saldi dilazionati