fix: Italian column labels + consistent title style in eventi renderer
Changes applied: 1. Updated column names in active certificates (quotazione): - "Trigger Cedola" → "Livello Cedola" - "Trigger Autocall" → "Livello Richiamo Anticipato" - "Valore Autocall" → "Valore Richiamo Anticipato" 2. Updated column names in expired certificates: - "Soglia Rimborso" → "Livello Richiamo Anticipato" - "Valore Autocall" → "Valore Richiamo Anticipato" 3. Synchronized title style in EventiSectionRenderer with AnagraficaSectionRenderer: - Uses AccentBlue color instead of generic SectionTitle - Added blue separator line below title (AccentBluePen) - Aligned spacing and font sizing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,8 +31,12 @@ public class EventiSectionRenderer : IPdfSectionRenderer
|
||||
|
||||
// ── Titolo ─────────────────────────────────────────────────────
|
||||
g.DrawString("Lista Eventi", PdfTheme.SectionTitleFont,
|
||||
new PdfSolidBrush(PdfTheme.SectionTitle), new RectangleF(0, y, w, 18));
|
||||
y += 22;
|
||||
new PdfSolidBrush(PdfTheme.AccentBlue), new RectangleF(0, y, w, 20f));
|
||||
y += 24f;
|
||||
|
||||
// Linea separatrice blu
|
||||
g.DrawLine(PdfTheme.AccentBluePen, 0, y, w, y);
|
||||
y += 8f;
|
||||
|
||||
// ── Griglia ────────────────────────────────────────────────────
|
||||
var grid = new PdfGrid();
|
||||
@@ -48,12 +52,12 @@ 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
|
||||
// rinominati Trigger Cedola→Barriera Cedola e Trigger Autocall→Livello Richiamo Anticipato
|
||||
headers = new[]
|
||||
{
|
||||
"Osservazione", "Pagamento",
|
||||
"Barriera Cedola", "Cedola %", "Pagato", "Memoria",
|
||||
"Importo Pagato", "Soglia Rimborso", "Valore Autocall"
|
||||
"Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato"
|
||||
};
|
||||
cw = new float[] { 62, 58, 52, 46, 36, 46, 52, 58, 52 };
|
||||
paidColIndex = 4;
|
||||
@@ -63,8 +67,8 @@ public class EventiSectionRenderer : IPdfSectionRenderer
|
||||
headers = new[]
|
||||
{
|
||||
"Osservazione", "Ex Date", "Record", "Pagamento",
|
||||
"Trigger Cedola", "Cedola %", "Pagato", "Memoria",
|
||||
"Importo Pagato", "Trigger Autocall", "Valore Autocall"
|
||||
"Livello Cedola", "Cedola %", "Pagato", "Memoria",
|
||||
"Importo Pagato", "Livello Richiamo Anticipato", "Valore Richiamo Anticipato"
|
||||
};
|
||||
cw = new float[] { 62, 52, 52, 58, 52, 46, 36, 46, 52, 58, 52 };
|
||||
paidColIndex = 6;
|
||||
|
||||
Reference in New Issue
Block a user