From 35b2e9ae43d002e2649431aca2ea11a61d32d59e Mon Sep 17 00:00:00 2001 From: SmartRootsSrl Date: Mon, 23 Mar 2026 15:56:56 +0100 Subject: [PATCH] feat: skip sottostanti table in anagrafica when ShowDividend=true --- .../Services/Implementations/AnagraficaSectionRenderer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs index 085ed44..052f00d 100644 --- a/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs @@ -47,7 +47,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer y += SectionGap; // ── SEZIONE C: SOTTOSTANTI ──────────────────────────────────── - if (info.Sottostanti.Count > 0) + if (!data.ShowDividend && info.Sottostanti.Count > 0) { // Se lo spazio rimanente è meno di 80pt, nuova pagina if (y > PageH - 80f)