feat: skip sottostanti table in anagrafica when ShowDividend=true
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user