diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index afdc293..12dc4bf 100644 Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll index bbe6648..0bae309 100644 Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ diff --git a/C2P/bin/NLog.dll b/C2P/bin/NLog.dll index 5a2f145..11a5469 100644 Binary files a/C2P/bin/NLog.dll and b/C2P/bin/NLog.dll differ diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll index 5d9caa4..4e2ef13 100644 Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ diff --git a/C2P_Data/bin/Release/C2P_Data.dll b/C2P_Data/bin/Release/C2P_Data.dll index bbe6648..0bae309 100644 Binary files a/C2P_Data/bin/Release/C2P_Data.dll and b/C2P_Data/bin/Release/C2P_Data.dll differ diff --git a/C2P_Data/bin/Release/SteamWare.dll b/C2P_Data/bin/Release/SteamWare.dll index 5d9caa4..4e2ef13 100644 Binary files a/C2P_Data/bin/Release/SteamWare.dll and b/C2P_Data/bin/Release/SteamWare.dll differ diff --git a/C2P_Report/ReportViewer.aspx.cs b/C2P_Report/ReportViewer.aspx.cs index 41992fb..5a3af64 100644 --- a/C2P_Report/ReportViewer.aspx.cs +++ b/C2P_Report/ReportViewer.aspx.cs @@ -28,7 +28,8 @@ namespace C2P_Report ReportOffers.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local; LocalReport localReport = ReportOffers.LocalReport; - // 0) recupero la richiesta di stampa: numero ticket! + // 0) recupero la richiesta di stampa: numero ticket! e lingua! + string lingua = "EN"; int ticket = 0; try { @@ -36,6 +37,15 @@ namespace C2P_Report } catch { } + try + { + lingua = Request.QueryString["lingua"]; + } + catch + { + lingua = "EN"; + } + if (lingua == "" || lingua == null) lingua = "EN"; // 1) impostazione file report localReport.ReportPath = @".\Reports\ReportOffers.rdlc"; @@ -43,7 +53,7 @@ namespace C2P_Report // 2) caricamento tab dati DataTable tabVoc = new DataTable(); DataTable tabQuote = new DataTable(); - tabVoc = (DataTable)SteamWare.selDataVoc.mgr.getVocabolarioByLemma(SteamWare.user_std.UtSn.lingua, "C2P_prt1"); // HARD CODED lemma x report!!! + tabVoc = (DataTable)SteamWare.selDataVoc.mgr.getVocabolarioByLemma(lingua, "C2P_prt1"); // HARD CODED lemma x report!!! tabQuote = (DataTable)DtProxy.man.taQFQ.repOffersByTicket(ticket); // 3) inserimento dataset nel report diff --git a/C2P_Report/bin/C2P_Data.dll b/C2P_Report/bin/C2P_Data.dll index bbe6648..0bae309 100644 Binary files a/C2P_Report/bin/C2P_Data.dll and b/C2P_Report/bin/C2P_Data.dll differ diff --git a/C2P_Report/bin/C2P_Report.dll b/C2P_Report/bin/C2P_Report.dll index 4342252..a3b5a22 100644 Binary files a/C2P_Report/bin/C2P_Report.dll and b/C2P_Report/bin/C2P_Report.dll differ diff --git a/C2P_Report/bin/SteamWare.dll b/C2P_Report/bin/SteamWare.dll index 5d9caa4..4e2ef13 100644 Binary files a/C2P_Report/bin/SteamWare.dll and b/C2P_Report/bin/SteamWare.dll differ