diff --git a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs index 8a4aec0..be33b79 100644 --- a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs @@ -48,16 +48,14 @@ public class EventiSectionRenderer : IPdfSectionRenderer if (isExpired) { // Certificati non in quotazione: senza Ex Date e Record, - // rinominati Trigger Cedola→Barriera Cedola e Trigger Autocall→Soglia Rimborso, - // aggiunte Barriera Capitale e Rimborso Capitale + // rinominati Trigger Cedola→Barriera Cedola e Trigger Autocall→Soglia Rimborso headers = new[] { "Osservazione", "Pagamento", "Barriera Cedola", "Cedola %", "Pagato", "Memoria", - "Importo Pagato", "Soglia Rimborso", "Valore Autocall", - "Barriera Capitale", "Rimborso Capitale" + "Importo Pagato", "Soglia Rimborso", "Valore Autocall" }; - cw = new float[] { 62, 58, 52, 46, 36, 46, 52, 58, 52, 58, 58 }; + cw = new float[] { 62, 58, 52, 46, 36, 46, 52, 58, 52 }; paidColIndex = 4; } else @@ -102,8 +100,6 @@ 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 { diff --git a/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs index 06076c1..3205274 100644 --- a/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs @@ -210,6 +210,8 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer ("Valore Nominale", info.NominalValue?.ToString("N0") ?? string.Empty), ("Memoria Cedola", info.Memory), ("Tipo Barriera", info.BarrierType), + ("Barriera Capitale", info.LivelloBarriera), + ("Rimborso Capitale", info.CapitalValue), ("Tipo Basket", info.BasketType), ("Rendimento Totale", info.RendimentoTotale), };