diff --git a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs index bd7e932..2a076b5 100644 --- a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs @@ -40,7 +40,7 @@ public class EventiSectionRenderer : IPdfSectionRenderer // ── Griglia ──────────────────────────────────────────────────── var grid = new PdfGrid(); - grid.Style.CellPadding = new PdfPaddings(3, 3, 2, 2); + grid.Style.CellPadding = new PdfPaddings(1.5f, 1.5f, 2, 2); bool isExpired = !string.IsNullOrEmpty(data.Info.Stato) && data.Info.Stato != "Quotazione"; @@ -57,9 +57,10 @@ public class EventiSectionRenderer : IPdfSectionRenderer { "Osservazione", "Pagamento", "Barriera Cedola", "Cedola %", "Pagato", "Memoria", - "Importo Pagato", "Soglia Rimborso", "Valore Richiamo Anticipato" + "Importo Pagato", "Soglia Rimborso", "Valore Richiamo Anticipato", + "Barriera Capitale", "Rimborso Capitale" }; - cw = new float[] { 62, 58, 52, 46, 36, 46, 52, 58, 52 }; + cw = new float[] { 62, 58, 52, 46, 36, 46, 52, 58, 52, 52, 52 }; paidColIndex = 4; } else @@ -68,9 +69,10 @@ public class EventiSectionRenderer : IPdfSectionRenderer { "Osservazione", "Data Stacco", "Record", "Pagamento", "Livello Cedola", "Cedola %", "Pagato", "Memoria", - "Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato" + "Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato", + "Barriera Capitale", "Rimborso Capitale" }; - cw = new float[] { 62, 52, 52, 58, 52, 46, 36, 46, 52, 58, 52 }; + cw = new float[] { 62, 52, 52, 58, 52, 46, 36, 46, 52, 58, 52, 52, 52 }; paidColIndex = 6; } @@ -113,6 +115,8 @@ public class EventiSectionRenderer : IPdfSectionRenderer row.Cells[6].Value = evt.AmountPaid; row.Cells[7].Value = evt.AutocallTrigger; row.Cells[8].Value = evt.AutocallValue; + row.Cells[9].Value = evt.CapitalTrigger; + row.Cells[10].Value = evt.CapitalValue; } else { @@ -127,6 +131,8 @@ public class EventiSectionRenderer : IPdfSectionRenderer row.Cells[8].Value = evt.AmountPaid; row.Cells[9].Value = evt.AutocallTrigger; row.Cells[10].Value = evt.AutocallValue; + row.Cells[11].Value = evt.CapitalTrigger; + row.Cells[12].Value = evt.CapitalValue; } foreach (var cell in row.Cells.OfType())