From 7c7d1658eaa44992fefa04d01781e54b317a604d Mon Sep 17 00:00:00 2001 From: SmartRootsSrl Date: Tue, 24 Mar 2026 09:42:13 +0100 Subject: [PATCH] fix: rinomina etichette UI nei report PDF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sezione Analisi: Prossimo Autocall → Prossimo Richiamo Anticipato - Lista Eventi: Ex Date → Data Stacco - Tabella Sottostanti: % Perf. → Performance (tutti i renderer) Co-Authored-By: Claude Sonnet 4.6 --- .../Services/Implementations/AnagraficaSectionRenderer.cs | 6 +++--- .../Services/Implementations/DividendSectionRenderer.cs | 2 +- .../Services/Implementations/EventiSectionRenderer.cs | 2 +- .../Implementations/ExpiredAnagraficaSectionRenderer.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs index e421cf3..9949524 100644 --- a/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs @@ -220,7 +220,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer ("Valuta", info.Valuta), ("Data Emissione", info.DataEmissione), ("Data Scadenza", info.Scadenza), - ("Prossimo Autocall", info.NextAutocallDate), + ("Prossimo Richiamo Anticipato", info.NextAutocallDate), }; for (int i = 0; i < rows.Length; i++) @@ -239,7 +239,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer new PdfSolidBrush(PdfTheme.TextSecondary), new RectangleF(x + pad, y + 2f, w * 0.5f, rh)); - var valueBrush = (label == "ISIN" || label == "Prossimo Autocall") + var valueBrush = (label == "ISIN" || label == "Prossimo Richiamo Anticipato") ? new PdfSolidBrush(PdfTheme.AccentBlue) : new PdfSolidBrush(PdfTheme.TextPrimary); @@ -390,7 +390,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer grid.Style.CellPadding = new PdfPaddings(2, 2, 2, 2); // 9 colonne - string[] headers = { "Nome", "Livello Iniziale", "Ultimo Prezzo", "% Perf.", "Barriera Capitale", + string[] headers = { "Nome", "Livello Iniziale", "Ultimo Prezzo", "Performance", "Barriera Capitale", "Protezione Capitale", "Livello Cedola", "Protezione Cedola", "Livello Richiamo Anticipato" }; foreach (var _ in headers) grid.Columns.Add(); diff --git a/CertReports.Syncfusion/Services/Implementations/DividendSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/DividendSectionRenderer.cs index 5cd25cb..d68cf86 100644 --- a/CertReports.Syncfusion/Services/Implementations/DividendSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/DividendSectionRenderer.cs @@ -38,7 +38,7 @@ public class DividendSectionRenderer "", // Nome (nessuna sub-label) "Livello Iniziale", // Strike "Ultimo Prezzo", // Last - "% Perf.", // % Perf. (invariato) + "Performance", // Performance "Barriera Capitale", // Barr.Cap. "Protezione Capitale", // Buf.Cap. "Livello Cedola", // Trig.CPN diff --git a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs index fb17878..0e4a31c 100644 --- a/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/EventiSectionRenderer.cs @@ -65,7 +65,7 @@ public class EventiSectionRenderer : IPdfSectionRenderer { headers = new[] { - "Osservazione", "Ex Date", "Record", "Pagamento", + "Osservazione", "Data Stacco", "Record", "Pagamento", "Livello Cedola", "Cedola %", "Pagato", "Memoria", "Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato" }; diff --git a/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs index 4fd5a9b..c4528f6 100644 --- a/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs @@ -229,7 +229,7 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer var grid = new PdfGrid(); grid.Style.CellPadding = new PdfPaddings(2, 2, 2, 2); - string[] headers = { "Nome", "Livello Iniziale", "Ultimo Prezzo", "% Perf.", "Barriera Capitale", + string[] headers = { "Nome", "Livello Iniziale", "Ultimo Prezzo", "Performance", "Barriera Capitale", "Protezione Capitale", "Livello Cedola", "Protezione Cedola", "Livello Richiamo Anticipato" }; foreach (var _ in headers) grid.Columns.Add();