-
diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs
index 161d41e..487cbc8 100644
--- a/WebSCR/WebUserControls/mod_pianificazione.ascx.cs
+++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.cs
@@ -5,6 +5,7 @@ using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
+using WebSCR_data;
namespace WebSCR.WebUserControls
{
@@ -79,6 +80,9 @@ namespace WebSCR.WebUserControls
{
if (qsVal("IdxImpegno") != "")
{
+ // salvo parametri in sessione
+ saveSessParam();
+
mod_impegno.Visible = true;
mod_dettInt.Visible = true;
mod_fileImpegno.Visible = true;
@@ -90,6 +94,26 @@ namespace WebSCR.WebUserControls
}
}
}
+
+ private void saveSessParam()
+ {
+ // metto in sessione squadra sel
+ int idxImpegno = 0;
+ string CodSquadra = "";
+ DateTime DataImp = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
+ try
+ {
+ idxImpegno = Convert.ToInt32(qsVal("IdxImpegno"));
+ DS_Applicazione.ImpegniRow rigaImp = DtProxy.man.taImp.getByKey(idxImpegno)[0];
+ CodSquadra = rigaImp.CodSquadra;
+ DataImp = rigaImp.DataOra;
+ }
+ catch
+ { }
+ memLayer.ML.setSessionVal("CodSquadra", CodSquadra);
+ memLayer.ML.setSessionVal("DataImp", DataImp);
+ }
+
///
/// nuovo record impegno...
///
diff --git a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs
index 5145959..d723b2b 100644
--- a/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs
+++ b/WebSCR/WebUserControls/mod_pianificazione.ascx.designer.cs
@@ -75,6 +75,15 @@ namespace WebSCR.WebUserControls {
///
protected global::WebSCR.WebUserControls.mod_dettInt mod_dettInt;
+ ///
+ /// mod_compSquadra control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::WebSCR.WebUserControls.mod_compSquadra mod_compSquadra;
+
///
/// mod_fileImpegno control.
///
diff --git a/WebSCR/bin/SteamWare.dll b/WebSCR/bin/SteamWare.dll
index 13f4017..d58bda5 100644
Binary files a/WebSCR/bin/SteamWare.dll and b/WebSCR/bin/SteamWare.dll differ
diff --git a/WebSCR/bin/WebSCR.dll b/WebSCR/bin/WebSCR.dll
index dcf20de..5d49220 100644
Binary files a/WebSCR/bin/WebSCR.dll and b/WebSCR/bin/WebSCR.dll differ
diff --git a/WebSCR/bin/WebSCR_data.dll b/WebSCR/bin/WebSCR_data.dll
index bbfa439..8fb25d9 100644
Binary files a/WebSCR/bin/WebSCR_data.dll and b/WebSCR/bin/WebSCR_data.dll differ
diff --git a/WebSCR_data/bin/Debug/SteamWare.dll b/WebSCR_data/bin/Debug/SteamWare.dll
index 13f4017..d58bda5 100644
Binary files a/WebSCR_data/bin/Debug/SteamWare.dll and b/WebSCR_data/bin/Debug/SteamWare.dll differ
diff --git a/WebSCR_data/bin/Debug/WebSCR_data.dll b/WebSCR_data/bin/Debug/WebSCR_data.dll
index bbfa439..8fb25d9 100644
Binary files a/WebSCR_data/bin/Debug/WebSCR_data.dll and b/WebSCR_data/bin/Debug/WebSCR_data.dll differ
diff --git a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache
index 42fe019..9d4b2f2 100644
Binary files a/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache and b/WebSCR_data/obj/Debug/WebSCR_data.csprojResolveAssemblyReference.cache differ
diff --git a/WebSCR_data/obj/Debug/WebSCR_data.dll b/WebSCR_data/obj/Debug/WebSCR_data.dll
index bbfa439..8fb25d9 100644
Binary files a/WebSCR_data/obj/Debug/WebSCR_data.dll and b/WebSCR_data/obj/Debug/WebSCR_data.dll differ