fix: translate labels to Italian in anagrafica section (analisi + sottostanti)
This commit is contained in:
@@ -330,14 +330,14 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer
|
|||||||
var rightItems = new (string Label, string Value)[]
|
var rightItems = new (string Label, string Value)[]
|
||||||
{
|
{
|
||||||
("Rend. Capitale a Scadenza", info.CapitalReturnAtMaturity ?? "-"),
|
("Rend. Capitale a Scadenza", info.CapitalReturnAtMaturity ?? "-"),
|
||||||
("IRR", info.IRR ?? "-"),
|
("Tasso Rendimento Interno", info.IRR ?? "-"),
|
||||||
("Protezione Capitale", info.BufferKProt ?? "-"),
|
("Protezione Capitale", info.BufferKProt ?? "-"),
|
||||||
("Protezione Coupon", info.BufferCPNProt ?? "-"),
|
("Protezione Cedola", info.BufferCPNProt ?? "-"),
|
||||||
("Valore Autocall", info.AutocallValue ?? "-"),
|
("Valore Richiamo Anticipato", info.AutocallValue ?? "-"),
|
||||||
("Distanza Autocall", info.TriggerAutocallDistance ?? "-"),
|
("Distanza Richiamo Anticipato", info.TriggerAutocallDistance ?? "-"),
|
||||||
("Rendimento Autocall", info.AutocallReturn ?? "-"),
|
("Rendimento Richiamo Anticipato", info.AutocallReturn ?? "-"),
|
||||||
("Fattore Airbag", string.IsNullOrWhiteSpace(info.FattoreAirbag) ? "—" : info.FattoreAirbag),
|
("Fattore Airbag", string.IsNullOrWhiteSpace(info.FattoreAirbag) ? "—" : info.FattoreAirbag),
|
||||||
("Trigger OneStar", string.IsNullOrWhiteSpace(info.TriggerOneStar) ? "—" : info.TriggerOneStar),
|
("Livello OneStar", string.IsNullOrWhiteSpace(info.TriggerOneStar) ? "—" : info.TriggerOneStar),
|
||||||
};
|
};
|
||||||
|
|
||||||
float leftY = DrawKVList(g, leftItems, 0, ColW, y);
|
float leftY = DrawKVList(g, leftItems, 0, ColW, y);
|
||||||
@@ -390,8 +390,8 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer
|
|||||||
grid.Style.CellPadding = new PdfPaddings(2, 2, 2, 2);
|
grid.Style.CellPadding = new PdfPaddings(2, 2, 2, 2);
|
||||||
|
|
||||||
// 9 colonne
|
// 9 colonne
|
||||||
string[] headers = { "Nome", "Strike", "Last", "% Perf.", "Barriera Capitale",
|
string[] headers = { "Nome", "Livello Iniziale", "Ultimo Prezzo", "% Perf.", "Barriera Capitale",
|
||||||
"Buffer Capitale", "Trigger Cedola", "Buffer Cedola", "Trigger Autocall" };
|
"Protezione Capitale", "Livello Cedola", "Protezione Cedola", "Livello Richiamo Anticipato" };
|
||||||
|
|
||||||
foreach (var _ in headers) grid.Columns.Add();
|
foreach (var _ in headers) grid.Columns.Add();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user