diff --git a/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs index 3f97cfe..000509c 100644 --- a/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/ExpiredAnagraficaSectionRenderer.cs @@ -73,9 +73,9 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer PdfTheme.BoxLightBlueBgBrush, PdfTheme.AccentBlueBrush, PdfTheme.AccentBlueBrush, PdfTheme.AccentBlueDarkBrush, PdfTheme.Bold); + y += boxH + 10f; } - y += boxH + 10f; return y; } diff --git a/CertReports.Syncfusion/Services/Implementations/ReportOrchestrator.cs b/CertReports.Syncfusion/Services/Implementations/ReportOrchestrator.cs index b5db95a..799c31f 100644 --- a/CertReports.Syncfusion/Services/Implementations/ReportOrchestrator.cs +++ b/CertReports.Syncfusion/Services/Implementations/ReportOrchestrator.cs @@ -71,6 +71,9 @@ public class ReportOrchestrator : IReportOrchestrator var cacheKey = isExpired ? expiredCacheKey : baseCacheKey; + if (string.IsNullOrEmpty(reportData.Info.Stato)) + _logger.LogWarning("Campo Stato assente per ISIN {Isin}: utilizzo flusso standard", isin); + _logger.LogInformation( "Dati recuperati per {Isin}: Stato={Stato}, isExpired={IsExpired}, {EventiCount} eventi", isin, reportData.Info.Stato, isExpired, reportData.Eventi.Count);