feat: skip sottostanti table in anagrafica when ShowDividend=true

This commit is contained in:
2026-03-23 15:56:56 +01:00
parent 02ca8bc9fb
commit 35b2e9ae43

View File

@@ -47,7 +47,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer
y += SectionGap; y += SectionGap;
// ── SEZIONE C: SOTTOSTANTI ──────────────────────────────────── // ── SEZIONE C: SOTTOSTANTI ────────────────────────────────────
if (info.Sottostanti.Count > 0) if (!data.ShowDividend && info.Sottostanti.Count > 0)
{ {
// Se lo spazio rimanente è meno di 80pt, nuova pagina // Se lo spazio rimanente è meno di 80pt, nuova pagina
if (y > PageH - 80f) if (y > PageH - 80f)