feat: skip sottostanti table in expired anagrafica when ShowDividend=true

This commit is contained in:
2026-03-23 16:00:14 +01:00
parent 35b2e9ae43
commit 5b6400903d

View File

@@ -46,7 +46,7 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer
y += SectionGap; y += SectionGap;
// ── SEZIONE C: SOTTOSTANTI ──────────────────────────────────── // ── SEZIONE C: SOTTOSTANTI ────────────────────────────────────
if (info.Sottostanti.Count > 0) if (!data.ShowDividend && info.Sottostanti.Count > 0)
{ {
if (y > PageH - 80f) if (y > PageH - 80f)
{ {