diff --git a/Lux.Report.Data/Services/PdfReportService.cs b/Lux.Report.Data/Services/PdfReportService.cs index bb930f71..407aff48 100644 --- a/Lux.Report.Data/Services/PdfReportService.cs +++ b/Lux.Report.Data/Services/PdfReportService.cs @@ -53,7 +53,6 @@ namespace Lux.Report.Data.Services Report.ExportToPdf(msOut); ms.Position = 0; - string fName = $"Offert_{reqId:00000000}.pdf"; pdfBytes = msOut.ToArray(); } } diff --git a/Lux.Report.Server/Lux.Report.Server.csproj b/Lux.Report.Server/Lux.Report.Server.csproj index 6b7f7744..9c538b7b 100644 --- a/Lux.Report.Server/Lux.Report.Server.csproj +++ b/Lux.Report.Server/Lux.Report.Server.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 1.1.2604.2316 + 1.1.2604.2409 diff --git a/Lux.Report.Server/Program.cs b/Lux.Report.Server/Program.cs index 562e5753..656e3064 100644 --- a/Lux.Report.Server/Program.cs +++ b/Lux.Report.Server/Program.cs @@ -142,9 +142,9 @@ app.MapGet("/download", async ( break; } string dataFullUrl = $"{apiUrl}/{dataUrl}/{dataReportUrl}"; - var pdf = await pdfService.GeneratePdfAsync(reqId.Value, repType, selFile, imgFullUrl, dataFullUrl); - return Results.File(pdf, "application/pdf"); + string fName = $"{repType}_{reqId:00000000}.pdf"; + return Results.File(pdf, "application/pdf", fName); }); diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 88036a2e..352e3827 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ LUX - Web Windows MES -

Versione: 1.1.2604.2317

+

Versione: 1.1.2604.2409


Note di rilascio: