Merge branch 'develop'
This commit is contained in:
Binary file not shown.
@@ -8,23 +8,40 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<img src="images/LogoSteamware.png" alt="Steamware" style="float:right;" />
|
||||
<div style="background-color:#FFF;">
|
||||
<img src="images/LogoSteamware.png" alt="Steamware" style="float: right;" />
|
||||
<div style="text-align: center; margin: auto; font-size: 1.5em; width: 800px; margin: auto; background-color: #EFEFEF;">
|
||||
<h1>WebSCR DataUploader</h1>
|
||||
<i>Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware</i>
|
||||
<br />
|
||||
<br />
|
||||
<%--Per effettuare test utilizzare la <a href="DemoPage.aspx">Demo Page</a>
|
||||
<br />--%>
|
||||
Per l'uso in produzione / continuativo vanno richiamate
|
||||
<ul>
|
||||
<li>periodicamente la pagina di <b>FullSync</b></li>
|
||||
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
||||
</ul>
|
||||
<div>
|
||||
<div style="font-size: 1.5em;">
|
||||
<b>Per forzare il caricamento di un singolo doc indicare il codice:</b>
|
||||
<div>
|
||||
<asp:Label runat="server" ID="lblAnno" AssociatedControlID="txtAnno" Text="Anno:" />
|
||||
<asp:TextBox runat="server" ID="txtAnno" AutoPostBack="true" Font-Size="1.6em" Width="3em" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:Label runat="server" ID="lblDoc" AssociatedControlID="txtDoc" Text="Doc:" />
|
||||
<asp:TextBox runat="server" ID="txtDoc" AutoPostBack="True" Font-Size="1.6em" Width="6em" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:Button runat="server" ID="btnUpload" Text="Carica" OnClick="btnUpload_Click" Font-Size="2.2em" Width="6em" />
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
Per l'uso in produzione / continuativo vanno richiamate
|
||||
<ul>
|
||||
<li>periodicamente la pagina di <b>FullSync</b></li>
|
||||
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="border-top: 1px solid #696969; text-align: right; margin-top: 40px;">
|
||||
@2015-<%: DateTime.Now.Year %> Steamware
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -11,7 +11,62 @@ namespace DataUploader
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if(!Page.IsPostBack)
|
||||
{
|
||||
anno = DateTime.Now.Year;
|
||||
DOC = "OC000000";
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnUpload_Click(object sender, EventArgs e)
|
||||
{
|
||||
caricaDoc();
|
||||
}
|
||||
|
||||
public int anno
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = DateTime.Now.Year;
|
||||
try
|
||||
{
|
||||
answ = Convert.ToInt32(txtAnno.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
txtAnno.Text = value.ToString();
|
||||
}
|
||||
}
|
||||
public string DOC
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = txtDoc.Text.Trim();
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
txtDoc.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
private void caricaDoc()
|
||||
{
|
||||
if (txtDoc.Text.Trim() != "")
|
||||
{
|
||||
Response.Redirect(string.Format("SyncDoc.aspx?DOC={0}&Anno={1}", DOC, anno));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+51
-8
@@ -3,17 +3,15 @@
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace DataUploader
|
||||
{
|
||||
|
||||
|
||||
public partial class Default
|
||||
{
|
||||
|
||||
namespace DataUploader {
|
||||
|
||||
|
||||
public partial class Default {
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
@@ -22,5 +20,50 @@ namespace DataUploader
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// lblAnno control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblAnno;
|
||||
|
||||
/// <summary>
|
||||
/// txtAnno control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtAnno;
|
||||
|
||||
/// <summary>
|
||||
/// lblDoc control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDoc;
|
||||
|
||||
/// <summary>
|
||||
/// txtDoc control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDoc;
|
||||
|
||||
/// <summary>
|
||||
/// btnUpload control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnUpload;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,8 +10,12 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||
<ExcludeApp_Data>False</ExcludeApp_Data>
|
||||
<publishUrl>C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\ReleaseClienti\DataUploader</publishUrl>
|
||||
<DeleteExistingFiles>False</DeleteExistingFiles>
|
||||
<ExcludeApp_Data>True</ExcludeApp_Data>
|
||||
<publishUrl>C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebSCR\ReleaseClienti\DataUploader</publishUrl>
|
||||
<DeleteExistingFiles>True</DeleteExistingFiles>
|
||||
<PrecompileBeforePublish>True</PrecompileBeforePublish>
|
||||
<EnableUpdateable>True</EnableUpdateable>
|
||||
<DebugSymbols>False</DebugSymbols>
|
||||
<WDPMergeOption>DonotMerge</WDPMergeOption>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -6,47 +6,50 @@ by editing this MSBuild file. In order to learn more about this please visit htt
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<TimeStampOfAssociatedLegacyPublishXmlFile />
|
||||
<_PublishTargetUrl>C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\ReleaseClienti\DataUploader</_PublishTargetUrl>
|
||||
<_PublishTargetUrl>C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebSCR\ReleaseClienti\DataUploader</_PublishTargetUrl>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<File Include="bin/DataUploader.dll">
|
||||
<publishTime>06/16/2015 11:58:10</publishTime>
|
||||
<publishTime>09/17/2015 16:56:34</publishTime>
|
||||
</File>
|
||||
<File Include="bin/NLog.config">
|
||||
<publishTime>06/15/2015 12:03:55</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="bin/NLog.dll">
|
||||
<publishTime>06/15/2015 10:39:48</publishTime>
|
||||
<publishTime>09/03/2015 11:38:14</publishTime>
|
||||
</File>
|
||||
<File Include="bin/NLog.Web.dll">
|
||||
<publishTime>06/15/2015 10:39:49</publishTime>
|
||||
<publishTime>09/03/2015 11:38:15</publishTime>
|
||||
</File>
|
||||
<File Include="Default.aspx">
|
||||
<publishTime>06/15/2015 11:25:20</publishTime>
|
||||
<publishTime>09/17/2015 16:35:39</publishTime>
|
||||
</File>
|
||||
<File Include="DemoPage.aspx">
|
||||
<publishTime>05/25/2015 12:10:22</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="favicon.ico">
|
||||
<publishTime>06/15/2015 12:06:07</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="FullSync.aspx">
|
||||
<publishTime>05/25/2015 10:29:04</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="images/LogoSteamware.png">
|
||||
<publishTime>06/15/2015 11:23:06</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="logs/PlaceHolder.file">
|
||||
<publishTime>06/15/2015 12:04:56</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="packages.config">
|
||||
<publishTime>06/15/2015 10:39:50</publishTime>
|
||||
<publishTime>09/03/2015 11:38:11</publishTime>
|
||||
</File>
|
||||
<File Include="PrecompiledApp.config">
|
||||
<publishTime>09/17/2015 16:59:40</publishTime>
|
||||
</File>
|
||||
<File Include="SyncDoc.aspx">
|
||||
<publishTime>06/15/2015 12:00:13</publishTime>
|
||||
<publishTime>09/17/2015 16:31:09</publishTime>
|
||||
</File>
|
||||
<File Include="Web.config">
|
||||
<publishTime>06/16/2015 11:58:10</publishTime>
|
||||
<publishTime>09/17/2015 16:57:21</publishTime>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -18,6 +18,8 @@
|
||||
<hr />
|
||||
<h2>OUTPUT</h2>--%>
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
<br />
|
||||
<asp:HyperLink runat="server" ID="hlHome" NavigateUrl="Default.aspx" Text="Torna ad home" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
Generated
+9
@@ -29,5 +29,14 @@ namespace DataUploader {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblOut;
|
||||
|
||||
/// <summary>
|
||||
/// hlHome control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HyperLink hlHome;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,60 @@
|
||||
2015-09-17 16:02:58.3586 [ERROR] Eccezione
|
||||
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||
in System.Data.Odbc.OdbcConnection.Open()
|
||||
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||
2015-09-17 16:02:58.3886 [INFO] Effettuato upload singolo documento: durata 120,9672 msec
|
||||
2015-09-17 16:03:49.8989 [ERROR] Eccezione
|
||||
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||
in System.Data.Odbc.OdbcConnection.Open()
|
||||
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||
2015-09-17 16:03:49.8989 [INFO] Effettuato upload singolo documento: durata 4,002 msec
|
||||
2015-09-17 16:30:54.4051 [ERROR] Eccezione
|
||||
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||
in System.Data.Odbc.OdbcConnection.Open()
|
||||
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||
2015-09-17 16:30:54.4241 [INFO] Effettuato upload singolo documento: durata 100,0089 msec
|
||||
2015-09-17 16:31:11.9142 [ERROR] Eccezione
|
||||
System.Data.Odbc.OdbcException (0x80131937): ERROR [IM002] [Microsoft][Driver Manager ODBC] Nome origine dati non trovato e driver predefinito non specificato.
|
||||
in System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
|
||||
in System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
|
||||
in System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
|
||||
in System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
in System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
|
||||
in System.Data.Odbc.OdbcConnection.Open()
|
||||
in DataUploader.GestData.getDocsUrls(String CodDoc, String Anno) in C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2015\Projects\WebSCR\DataUploader\GestData.cs:riga 220
|
||||
2015-09-17 16:31:11.9142 [INFO] Effettuato upload singolo documento: durata 3,9773 msec
|
||||
Binary file not shown.
@@ -8,23 +8,40 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<img src="images/LogoSteamware.png" alt="Steamware" style="float:right;" />
|
||||
<div style="background-color:#FFF;">
|
||||
<img src="images/LogoSteamware.png" alt="Steamware" style="float: right;" />
|
||||
<div style="text-align: center; margin: auto; font-size: 1.5em; width: 800px; margin: auto; background-color: #EFEFEF;">
|
||||
<h1>WebSCR DataUploader</h1>
|
||||
<i>Pagina di riferimento per progetto upload dati da Sigla++ Trony Rigamonti a WebSCR@steamware</i>
|
||||
<br />
|
||||
<br />
|
||||
<%--Per effettuare test utilizzare la <a href="DemoPage.aspx">Demo Page</a>
|
||||
<br />--%>
|
||||
Per l'uso in produzione / continuativo vanno richiamate
|
||||
<ul>
|
||||
<li>periodicamente la pagina di <b>FullSync</b></li>
|
||||
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
||||
</ul>
|
||||
<div>
|
||||
<div style="font-size: 1.5em;">
|
||||
<b>Per forzare il caricamento di un singolo doc indicare il codice:</b>
|
||||
<div>
|
||||
<asp:Label runat="server" ID="lblAnno" AssociatedControlID="txtAnno" Text="Anno:" />
|
||||
<asp:TextBox runat="server" ID="txtAnno" AutoPostBack="true" Font-Size="1.6em" Width="3em" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:Label runat="server" ID="lblDoc" AssociatedControlID="txtDoc" Text="Doc:" />
|
||||
<asp:TextBox runat="server" ID="txtDoc" AutoPostBack="True" Font-Size="1.6em" Width="6em" />
|
||||
</div>
|
||||
<div>
|
||||
<asp:Button runat="server" ID="btnUpload" Text="Carica" OnClick="btnUpload_Click" Font-Size="2.2em" Width="6em" />
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
Per l'uso in produzione / continuativo vanno richiamate
|
||||
<ul>
|
||||
<li>periodicamente la pagina di <b>FullSync</b></li>
|
||||
<li>su richiesta utente la pagina di <b>SyncDoc</b></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="border-top: 1px solid #696969; text-align: right; margin-top: 40px;">
|
||||
@2015-<%: DateTime.Now.Year %> Steamware
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<precompiledApp version="2" updatable="true"/>
|
||||
@@ -18,6 +18,8 @@
|
||||
<hr />
|
||||
<h2>OUTPUT</h2>--%>
|
||||
<asp:Label runat="server" ID="lblOut" />
|
||||
<br />
|
||||
<asp:HyperLink runat="server" ID="hlHome" NavigateUrl="Default.aspx" Text="Torna ad home" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.3.041.153")]
|
||||
[assembly: AssemblyFileVersion("1.3.041.153")]
|
||||
[assembly: AssemblyVersion("1.6.057.170")]
|
||||
[assembly: AssemblyFileVersion("1.6.057.170")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2015-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("1.3.041.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.3.041.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("1.6.057.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("1.6.057.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2015-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+10
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+11
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Cronologico.aspx.cs" Inherits="WebSCR.Cronologico" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_impegno.ascx" TagPrefix="uc1" TagName="mod_impegno" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_cronologico.ascx" TagPrefix="uc1" TagName="mod_cronologico" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_cronologico runat="server" ID="mod_cronologico" />
|
||||
<div data-role="listview" data-inset="true">
|
||||
<div class="ui-field-contain">
|
||||
<uc1:mod_impegno runat="server" ID="mod_impegno" />
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace WebSCR
|
||||
{
|
||||
public partial class Cronologico : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+33
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR {
|
||||
|
||||
|
||||
public partial class Cronologico {
|
||||
|
||||
/// <summary>
|
||||
/// mod_cronologico control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebSCR.WebUserControls.mod_cronologico mod_cronologico;
|
||||
|
||||
/// <summary>
|
||||
/// mod_impegno control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebSCR.WebUserControls.mod_impegno mod_impegno;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="ElencoInt.aspx.cs" Inherits="WebSCR.ElencoInt" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_Interventi.ascx" TagName="mod_Interventi" TagPrefix="uc1" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_impegno.ascx" TagPrefix="uc1" TagName="mod_impegno" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_Interventi ID="mod_Interventi1" runat="server" />
|
||||
<div data-role="listview" data-inset="true">
|
||||
<div class="ui-field-contain">
|
||||
<uc1:mod_impegno runat="server" ID="mod_impegno" />
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace WebSCR
|
||||
{
|
||||
public partial class ElencoInt : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+33
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR {
|
||||
|
||||
|
||||
public partial class ElencoInt {
|
||||
|
||||
/// <summary>
|
||||
/// mod_Interventi1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebSCR.WebUserControls.mod_Interventi mod_Interventi1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_impegno control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebSCR.WebUserControls.mod_impegno mod_impegno;
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_Interventi.ascx" TagName="mod_Interventi" TagPrefix="uc1" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_impegno.ascx" TagPrefix="uc1" TagName="mod_impegno" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_dettInt.ascx" TagPrefix="uc1" TagName="mod_dettInt" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="OrdiniPerData.aspx.cs" Inherits="WebSCR.OrdiniPerData" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace WebSCR
|
||||
{
|
||||
public partial class OrdiniPerData : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR
|
||||
{
|
||||
|
||||
|
||||
public partial class OrdiniPerData
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
-->
|
||||
<appSettings>
|
||||
<add key="baseUrl" value="http://webscr.steamware.net/Rigamonti" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="localUplURL" value="http://rigasrv02:81/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<!--<add key="adminEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="_fromEmail" value="paolo.malighetti@unibg.it" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>-->
|
||||
|
||||
|
||||
+6
-1
@@ -36,12 +36,16 @@
|
||||
<add key="urlGestUtenti" value="UserAdmin" />
|
||||
<add key="adminEmail" value="samuele@steamware.net" />
|
||||
<add key="PageNoIndex" value="UserAdmin#Test" />
|
||||
<!--gestione calendario-->
|
||||
<add key="day2show" value="5" />
|
||||
<add key="minDays" value="1" />
|
||||
<add key="maxDays" value="10" />
|
||||
<!--file allegati documenti-->
|
||||
<add key="fileUploadFolder" value="~/DocUploader"/>
|
||||
<!--gestione squadre-->
|
||||
<add key="NumGg" value="5" />
|
||||
<!--gestione sw uploader locale-->
|
||||
<add key="localUplURL" value="http://IIS02" />
|
||||
<add key="localUplURL" value="http://IIS02/" />
|
||||
<!--stringhe connessione-->
|
||||
<add key="WebSCRConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||
<add key="WebSCRFilesConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||
@@ -87,6 +91,7 @@
|
||||
<error statusCode="403" redirect="NoAccess.htm" />
|
||||
<error statusCode="404" redirect="FileNotFound.htm" />
|
||||
</customErrors>-->
|
||||
<customErrors mode="Off"/>
|
||||
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Optimization" />
|
||||
|
||||
+57
-8
@@ -106,7 +106,9 @@
|
||||
<Content Include="App_Readme\Elmah.txt" />
|
||||
<Content Include="Clienti.aspx" />
|
||||
<Content Include="Content\font-awesome.css" />
|
||||
<Content Include="Content\font-awesome.min.css" />
|
||||
<Content Include="Content\font-awesome.min.css">
|
||||
<DependentUpon>font-awesome.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\images\ajax-loader.gif" />
|
||||
<Content Include="Content\images\icons-png\action-black.png" />
|
||||
<Content Include="Content\images\icons-png\action-white.png" />
|
||||
@@ -309,19 +311,33 @@
|
||||
<Content Include="Content\images\icons-svg\video-black.svg" />
|
||||
<Content Include="Content\images\icons-svg\video-white.svg" />
|
||||
<Content Include="Content\jquery.mobile-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\jquery.mobile.external-png-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile.external-png-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile.external-png-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile.external-png-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\jquery.mobile.icons-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile.icons-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile.icons-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile.icons-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\jquery.mobile.inline-png-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile.inline-png-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile.inline-png-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile.inline-png-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\jquery.mobile.inline-svg-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile.inline-svg-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile.inline-svg-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile.inline-svg-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\jquery.mobile.structure-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile.structure-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile.structure-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile.structure-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\jquery.mobile.theme-1.4.5.css" />
|
||||
<Content Include="Content\jquery.mobile.theme-1.4.5.min.css" />
|
||||
<Content Include="Content\jquery.mobile.theme-1.4.5.min.css">
|
||||
<DependentUpon>jquery.mobile.theme-1.4.5.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\Style.css">
|
||||
<DependentUpon>Style.less</DependentUpon>
|
||||
</Content>
|
||||
@@ -335,11 +351,14 @@
|
||||
<Content Include="Content\WebSCR.min.css">
|
||||
<DependentUpon>WebSCR.css</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Cronologico.aspx" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="ElencoInt.aspx" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="images\LogoSteamware.png" />
|
||||
<Content Include="Interventi.aspx" />
|
||||
<Content Include="Menu.aspx" />
|
||||
<Content Include="OrdiniPerData.aspx" />
|
||||
<Content Include="Pianificazione.aspx" />
|
||||
<Content Include="fonts\fontawesome-webfont.svg" />
|
||||
<Content Include="Global.asax" />
|
||||
@@ -356,6 +375,7 @@
|
||||
<Content Include="NLog.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="bundleconfig.json" />
|
||||
<None Include="compilerconfig.json" />
|
||||
<None Include="NLog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
@@ -374,6 +394,7 @@
|
||||
<Content Include="WebUserControls\mod_AssSquadra.ascx" />
|
||||
<Content Include="WebUserControls\mod_compSquadra.ascx" />
|
||||
<Content Include="WebUserControls\mod_consegne.ascx" />
|
||||
<Content Include="WebUserControls\mod_cronologico.ascx" />
|
||||
<Content Include="WebUserControls\mod_dettInt.ascx" />
|
||||
<Content Include="WebUserControls\mod_dispPeriodo.ascx" />
|
||||
<Content Include="WebUserControls\mod_DocIntCli.ascx" />
|
||||
@@ -429,6 +450,13 @@
|
||||
<Compile Include="Clienti.aspx.designer.cs">
|
||||
<DependentUpon>Clienti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Cronologico.aspx.cs">
|
||||
<DependentUpon>Cronologico.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Cronologico.aspx.designer.cs">
|
||||
<DependentUpon>Cronologico.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Default.aspx.cs">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
@@ -436,6 +464,13 @@
|
||||
<Compile Include="Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ElencoInt.aspx.cs">
|
||||
<DependentUpon>ElencoInt.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ElencoInt.aspx.designer.cs">
|
||||
<DependentUpon>ElencoInt.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Interventi.aspx.cs">
|
||||
<DependentUpon>Interventi.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -450,6 +485,13 @@
|
||||
<Compile Include="Menu.aspx.designer.cs">
|
||||
<DependentUpon>Menu.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OrdiniPerData.aspx.cs">
|
||||
<DependentUpon>OrdiniPerData.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OrdiniPerData.aspx.designer.cs">
|
||||
<DependentUpon>OrdiniPerData.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pianificazione.aspx.cs">
|
||||
<DependentUpon>Pianificazione.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -559,6 +601,13 @@
|
||||
<Compile Include="WebUserControls\mod_consegne.ascx.designer.cs">
|
||||
<DependentUpon>mod_consegne.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_cronologico.ascx.cs">
|
||||
<DependentUpon>mod_cronologico.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_cronologico.ascx.designer.cs">
|
||||
<DependentUpon>mod_cronologico.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_dettInt.ascx.cs">
|
||||
<DependentUpon>mod_dettInt.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,153 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_cronologico.ascx.cs" Inherits="WebSCR.WebUserControls.mod_cronologico" %>
|
||||
|
||||
<div class="ui-grid-b ui-mini">
|
||||
<div class="ui-block-a text-center">
|
||||
<div class="flLeft" style="font-size: 0.80em;">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="flLeft">
|
||||
<asp:DropDownList runat="server" ID="ddlStato" AutoPostBack="True">
|
||||
<asp:ListItem Text="PREVISTI" Value="PREVISTO"></asp:ListItem>
|
||||
<asp:ListItem Text="IN CORSO" Value="INCORSO"></asp:ListItem>
|
||||
<asp:ListItem Text="CONCLUSI" Value="CONCLUSO"></asp:ListItem>
|
||||
<asp:ListItem Text="TUTTI" Value="*" Selected="True"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flLeft" style="font-size: 0.70em;">
|
||||
<asp:TextBox runat="server" ID="txtDataFrom" type="date" AutoPostBack="True" Width="10em" />
|
||||
<i>(data inserimento ordine)</i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-block-b text-center">
|
||||
<div class="flLeft" style="font-size: 0.80em; width: 80%;">
|
||||
<asp:TextBox runat="server" type="search" name="password" ID="txtSearch" value="" placeholder="Ricerca Intervento (CLIENTE, DOCUMENTO)" AutoPostBack="true" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-mini">
|
||||
<asp:GridView ID="grView" runat="server" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="IdxImpegno" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" AllowPaging="True" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle BackColor="#2461BF" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
|
||||
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
|
||||
<SortedAscendingCellStyle BackColor="#F5F7FB" />
|
||||
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
|
||||
<SortedDescendingCellStyle BackColor="#E9EBEF" />
|
||||
<SortedDescendingHeaderStyle BackColor="#4870BE" />
|
||||
<AlternatingRowStyle BackColor="White" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun risultato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Appuntamento" SortExpression="DataOra">
|
||||
<ItemTemplate>
|
||||
<div style="clear: both; width: 240px;">
|
||||
<div class="flLeft">
|
||||
<asp:Label ID="lblDataOra" runat="server" Text='<%# Eval("DataOra","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("InizioInt")) %>' />
|
||||
<asp:Label ID="lblInizioInt" runat="server" Text='<%# Eval("InizioInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("InizioInt")) %>' />
|
||||
</div>
|
||||
<div class="flRight" style="color: #ACACAC;">
|
||||
<asp:Label ID="lblFinePrev" runat="server" Text='<%# Eval("FinePrev","{0:dd/MM/yy HH:mm}") %>' ForeColor="#ACACAC" Visible='<%# !notNull(Eval("FineInt")) %>' />
|
||||
<asp:Label ID="lblFineInt" runat="server" Text='<%# Eval("FineInt","<b>{0:dd/MM/yy HH:mm}</b>") %>' ForeColor="#333333" Visible='<%# notNull(Eval("FineInt")) %>' />
|
||||
</div>
|
||||
<div class="text-center" style="padding: 0px 2px;">
|
||||
<div style="font-size: 0.8em; color: #ACACAC; font-style: italic;">
|
||||
<asp:Label ID="lblTipoOra" runat="server" Text='<%# Eval("TipoOrario") %>' />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both; width: 240px; font-size: 0.8em; color: #ACACAC;">
|
||||
<div>
|
||||
<div class="flRight">
|
||||
<i class="fa fa-truck"></i>
|
||||
<asp:Label ID="lblMinViaggio" runat="server" Text='<%# Eval("MinViaggio","{0} min") %>' />
|
||||
+
|
||||
<asp:Label ID="lblMinTotCons" runat="server" Text='<%# Eval("MinTotCons","{0} min") %>' />
|
||||
<i class="fa fa-wrench"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Squadra" SortExpression="DescrSquadra">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:Label ID="lblDescrSquadra" runat="server" Text='<%# Bind("DescrSquadra") %>'></asp:Label>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="op" SortExpression="NumOp" ItemStyle-HorizontalAlign="Center">
|
||||
<HeaderTemplate>
|
||||
<i class="fa fa-users fa-2x"></i>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label2" runat="server" Text='<%# Eval("NumOp") %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cliente" SortExpression="RagSoc">
|
||||
<ItemTemplate>
|
||||
<div class="flLeft" style="font-size: 0.75em;">
|
||||
<asp:Label CssClass="tStrong flRight" ID="CognomeLabel" runat="server" Text='<%# Eval("RagSoc") %>' />
|
||||
</div>
|
||||
<%--</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Indirizzo" SortExpression="Localita">
|
||||
<ItemTemplate>--%>
|
||||
<div class="flRight" style="font-size: 0.8em;">
|
||||
<asp:Label CssClass="flRight" ID="IndirLabel" runat="server" Text='<%# Eval("Indir") %>' />
|
||||
<br />
|
||||
<asp:Label CssClass="flRight" ID="CapLabel" runat="server" Text='<%# string.Format("{0} - {1} ({2})", Eval("Cap"), Eval("Localita"), Eval("Prov")) %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="piano" SortExpression="PianoCons" ItemStyle-HorizontalAlign="Center">
|
||||
<HeaderTemplate>
|
||||
<i class="fa fa-building-o fa-2x"></i>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblPianoCons" runat="server" Text='<%# Eval("PianoCons") %>' />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="DOC / note" SortExpression="RifOC">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblRifOC" runat="server" Text='<%# Eval("RifOC") %>' />
|
||||
<div class="flRight" style="font-size: 0.8em; color: #ACACAC;">
|
||||
<asp:Label ID="lblNoteGen" runat="server" Text='<%# Eval("NoteGen") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Usato" SortExpression="RitUsato" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Eval("RitUsato") %>' CssClass="ui-state-disabled" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Asc." SortExpression="Ascensore" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Eval("Ascensore") %>' CssClass="ui-state-disabled" />
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra Intervento" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getBySearchCron" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.ImpegniTableAdapter" FilterExpression="CodSquadra LIKE '%{0}%' OR DescrSquadra LIKE '%{0}%' OR CodCliente LIKE '%{0}%' OR RagSoc LIKE '%{0}%' OR RifOC LIKE '%{0}%' " OldValuesParameterFormatString="original_{0}">
|
||||
<FilterParameters>
|
||||
<asp:ControlParameter ControlID="txtSearch" DefaultValue="*" Type="string" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlStato" Name="Stato" PropertyName="SelectedValue" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtDataFrom" Name="DataCreaz" PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using WebSCR_data;
|
||||
|
||||
namespace WebSCR.WebUserControls
|
||||
{
|
||||
public partial class mod_cronologico : System.Web.UI.UserControl
|
||||
{
|
||||
public event EventHandler eh_selData;
|
||||
/// <summary>
|
||||
/// solleva evento selezione data
|
||||
/// </summary>
|
||||
protected void reportEvent()
|
||||
{
|
||||
// evento!
|
||||
if (eh_selData != null)
|
||||
{
|
||||
eh_selData(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// data riferimento
|
||||
/// </summary>
|
||||
public DateTime dataFrom
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now.Date;
|
||||
try
|
||||
{
|
||||
answ = Convert.ToDateTime(txtDataFrom.Text.Trim());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
txtDataFrom.Text = value.ToString("yyyy-MM-dd");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// data selezionata (da query string o inizializzata...
|
||||
/// </summary>
|
||||
protected DateTime dataSel
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now;
|
||||
if (memLayer.ML.isInSessionObject("DataRif"))
|
||||
{
|
||||
try
|
||||
{
|
||||
answ = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
else if (memLayer.ML.getCookieVal("DataRif") != "")
|
||||
{
|
||||
try
|
||||
{
|
||||
answ = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("DataRif", value);
|
||||
}
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
dataFrom = dataSel;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// ultimo comando letto da link button
|
||||
/// </summary>
|
||||
public string lastCmd { get; set; }
|
||||
|
||||
protected void txtDataFrom_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
dataSel = Convert.ToDateTime(txtDataFrom.Text);
|
||||
reportEvent();
|
||||
}
|
||||
|
||||
protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
|
||||
{
|
||||
// salvo il command argument...
|
||||
lastCmd = e.CommandArgument.ToString();
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica se valore passato è NON NULLO
|
||||
/// </summary>
|
||||
/// <param name="dataInizio"></param>
|
||||
/// <returns></returns>
|
||||
public bool notNull(object dataInizio)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
answ = dataInizio.ToString() != "";
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// evento selezione paziente...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// recupero dati paziente...
|
||||
int IdxImpegno = 0;
|
||||
DS_Applicazione.ImpegniRow riga;// = DtProxy.man.taImp.GetData()[0];
|
||||
try
|
||||
{
|
||||
IdxImpegno = Convert.ToInt32(grView.SelectedDataKey["IdxImpegno"]);
|
||||
memLayer.ML.setSessionVal("IdxImpegno", IdxImpegno);
|
||||
riga = DtProxy.man.taImp.getByKey(IdxImpegno)[0];
|
||||
memLayer.ML.setSessionVal("Cliente", string.Format("{0}", riga.RagSoc));
|
||||
memLayer.ML.setSessionVal("CodCliente", riga.CodCliente);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
|
||||
riga = DtProxy.man.taImp.GetData()[0];
|
||||
}
|
||||
// rimando su pagina!
|
||||
Response.Redirect(string.Format("{0}?CodCliente={1}&Indir={2}&Data={3:yyyy-MM-dd}&IdxImpegno={4}", "Pianificazione", riga.CodCliente, riga.Indir, riga.DataOra, IdxImpegno));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_cronologico {
|
||||
|
||||
/// <summary>
|
||||
/// ddlStato control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlStato;
|
||||
|
||||
/// <summary>
|
||||
/// txtDataFrom control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtDataFrom;
|
||||
|
||||
/// <summary>
|
||||
/// txtSearch control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtSearch;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,8 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_footer.ascx.cs" Inherits="WebSCR.WebUserControls.mod_footer" %>
|
||||
<div id="divFooterMenu" runat="server" data-role="navbar">
|
||||
<div id="divFooterMenu" runat="server" data-role="navbar" data-iconpos="top">
|
||||
<ul runat="server" id="ulStd">
|
||||
<li><a href="Clienti" data-icon="user" class='<%: liClass("Clienti") %>'>Clienti</a></li>
|
||||
<li><a href="Interventi" data-icon="mail" class='<%: liClass("Interventi") %>'>Gestione Interventi</a></li>
|
||||
<li><a href="Pianificazione" data-icon="calendar" class='<%: liClass("Pianificazione") %>'>Pianificazione</a></li>
|
||||
<li><a href="Squadra" data-icon="navigation" class='<%: liClass("Squadre") %>'>Squadre/Consegne</a></li>
|
||||
<li><a href="Setup" data-icon="gear" class='<%: liClass("Setup") %>'>Setup</a></li>
|
||||
</ul>
|
||||
<ul runat="server" id="ulSquadra" visible="false">
|
||||
<li><a href="Menu" data-icon="home" class='<%: liClass("Menu") %>'>Menu Squadre</a></li>
|
||||
<li><a href="Squadra" data-icon="navigation" class='<%: liClass("Squadre") %>'>Squadre/Consegne</a></li>
|
||||
<li><a href="Cronologico" data-icon="grid" class='<%: liClass("Cronologico#ElencoInt") %>'>Magazzino</a></li>
|
||||
<li><a href="Pianificazione" data-icon="calendar" class='<%: liClass("Clienti#Interventi#Pianificazione#Setup") %>'>Uffici</a></li>
|
||||
<li><a href="Squadra" data-icon="location" class='<%: liClass("Menu#Squadra") %>'>Squadre Consegne</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -16,14 +16,6 @@ namespace WebSCR.WebUserControls
|
||||
{
|
||||
divFooterMenu.Visible = false;
|
||||
}
|
||||
bool showMenuSquadra = false;
|
||||
// in base alla pagina corrente decido cosa mostrare in footer...
|
||||
if (devicesAuthProxy.pagCorrente == "Squadra")
|
||||
{
|
||||
showMenuSquadra = true;
|
||||
}
|
||||
ulStd.Visible = !showMenuSquadra;
|
||||
ulSquadra.Visible = showMenuSquadra;
|
||||
}
|
||||
/// <summary>
|
||||
/// restituisce stato active se pagina corrente...
|
||||
@@ -33,20 +25,9 @@ namespace WebSCR.WebUserControls
|
||||
public string liClass(object nomeElem)
|
||||
{
|
||||
string answ = "";
|
||||
string nome = nomeElem.ToString();
|
||||
if (Request.Url.ToString().ToLower().Contains(nome.ToLower())) answ = "ui-btn-active";
|
||||
|
||||
// !!!FARE!!! controllo visibilità da permessi (x squadre in particolare)
|
||||
#if false
|
||||
// se E' Dettaglio e non c'è cod Impegno metto disabled...
|
||||
if (nome.Contains("Dettaglio"))
|
||||
{
|
||||
if (!memLayer.ML.isInSessionObject("Impegno"))
|
||||
{
|
||||
answ += " ui-state-disabled";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
string nome = nomeElem.ToString().ToLower();
|
||||
string pageUrl = devicesAuthProxy.getPage(Request.Url).ToString().ToLower();
|
||||
if (nome.Contains(pageUrl)) answ = "ui-btn-active";
|
||||
return answ;
|
||||
}
|
||||
|
||||
|
||||
@@ -29,14 +29,5 @@ namespace WebSCR.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulStd;
|
||||
|
||||
/// <summary>
|
||||
/// ulSquadra control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulSquadra;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,11 +25,11 @@
|
||||
HeaderDateFormat="dddd dd/MM"
|
||||
TimeFormat="Clock24Hours"
|
||||
ToolTip="NomeImpegno"
|
||||
BusinessBeginsHour="7"
|
||||
BusinessEndsHour="21"
|
||||
HeightSpec="Full"
|
||||
HeightSpec="BusinessHours"
|
||||
BusinessBeginsHour="6"
|
||||
BusinessEndsHour="22"
|
||||
ShowEventStartEnd="True"
|
||||
CellHeight="11"
|
||||
CellHeight="15"
|
||||
TimeRangeSelectedHandling="CallBack"
|
||||
EventMoveHandling="CallBack"
|
||||
EventClickHandling="JavaScript"
|
||||
@@ -40,7 +40,7 @@
|
||||
Width="95%"
|
||||
HourFontSize="6"
|
||||
DayFontSize="8pt"
|
||||
EventFontSize="7pt" Days="7"></DayPilot:DayPilotCalendar>
|
||||
EventFontSize="7pt" Days="5"></DayPilot:DayPilotCalendar>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByDate" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.v_ImpegniCalTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="lblData" Name="Data" PropertyName="Text" Type="DateTime" />
|
||||
|
||||
@@ -32,6 +32,28 @@ namespace WebSCR.WebUserControls
|
||||
}
|
||||
DayPilotCalendar1.TimeRangeSelected += DayPilotCalendar1_TimeRangeSelected;
|
||||
DayPilotCalendar1.EventMove += DayPilotCalendar1_EventMove;
|
||||
DayPilotCalendar1.Days = day2show;
|
||||
}
|
||||
|
||||
public int day2show
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = memLayer.ML.CRI("day2show");
|
||||
try
|
||||
{
|
||||
answ = memLayer.ML.IntSessionObj("day2show");
|
||||
if (answ < 1) answ = memLayer.ML.CRI("day2show");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("day2show", value);
|
||||
doUpdate();
|
||||
}
|
||||
}
|
||||
public string CodCliente
|
||||
{
|
||||
@@ -80,7 +102,7 @@ namespace WebSCR.WebUserControls
|
||||
// se ho 1 sola squadra selezionata...
|
||||
//if(rblSquadre.SelectedIndex >= 0)
|
||||
//if (mod_selSquadre.selected.Count == 1)
|
||||
if (memLayer.ML.StringSessionObj("elencoSquadre").IndexOf(",") > 0)
|
||||
if (memLayer.ML.StringSessionObj("elencoSquadre").Length > 0)
|
||||
{
|
||||
// recupero OC se in sessione...
|
||||
string doc = memLayer.ML.StringSessionObj("currDoc");
|
||||
@@ -96,7 +118,7 @@ namespace WebSCR.WebUserControls
|
||||
doUpdate();
|
||||
}
|
||||
|
||||
private void doUpdate()
|
||||
public void doUpdate()
|
||||
{
|
||||
//ods.DataBind();
|
||||
//rblSquadre.SelectedIndex = -1;
|
||||
|
||||
@@ -12,8 +12,25 @@
|
||||
<a href="UserAdmin" data-icon="lock" class="ui-btn ui-shadow ui-corner-all ui-icon-lock ui-btn-icon-right ui-btn-inline"> </a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="headData" style="clear: both;">
|
||||
<div class="ui-body-b">
|
||||
<div id="divHeaderMenu" runat="server" data-role="navbar" data-iconpos="right">
|
||||
<ul runat="server" id="ulStd" data-iconpos="right">
|
||||
<li><a href="Clienti" data-icon="user" class='<%: liClass("Clienti") %>'>Clienti</a></li>
|
||||
<li><a href="Interventi" data-icon="mail" class='<%: liClass("Interventi") %>'>Gestione Interventi</a></li>
|
||||
<li><a href="Pianificazione" data-icon="calendar" class='<%: liClass("Pianificazione") %>'>Pianificazione</a></li>
|
||||
<li><a href="Setup" data-icon="gear" class='<%: liClass("Setup") %>'>Setup</a></li>
|
||||
</ul>
|
||||
<ul runat="server" id="ulSquadra" visible="false">
|
||||
<li><a href="Menu" data-icon="home" class='<%: liClass("Menu") %>'>Menu Squadre</a></li>
|
||||
<li><a href="Squadra" data-icon="navigation" class='<%: liClass("Squadra") %>'>Squadre/Consegne</a></li>
|
||||
</ul>
|
||||
<ul runat="server" id="ulMagazzino" visible="false">
|
||||
<li><a href="Cronologico" data-icon="navigation" class='<%: liClass("Cronologico") %>'>Cronologico Ordini</a></li>
|
||||
<li><a href="ElencoInt" data-icon="navigation" class='<%: liClass("ElencoInt") %>'>Elenco Interventi</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="headData" style="clear: both; padding: 4px;">
|
||||
<div style="float: right; font-size: 0.7em; font-weight: 100; margin-right: 4px;">
|
||||
<%: CognomeNome %>
|
||||
</div>
|
||||
@@ -24,5 +41,3 @@
|
||||
<%: DataSel %> | <%: ClienteSel %> | <%: SquadraSel %>
|
||||
</div>--%>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -79,6 +79,10 @@ namespace WebSCR.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!memLayer.ML.isInSessionObject("USER_NAME"))
|
||||
{
|
||||
divHeaderMenu.Visible = false;
|
||||
}
|
||||
// altri controlli
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
@@ -122,6 +126,26 @@ namespace WebSCR.WebUserControls
|
||||
Response.Redirect("UserAdmin");
|
||||
}
|
||||
}
|
||||
|
||||
// in base alla pagina corrente decido cosa mostrare in header...
|
||||
if (devicesAuthProxy.pagCorrente == "Cronologico" || devicesAuthProxy.pagCorrente == "ElencoInt")
|
||||
{
|
||||
ulStd.Visible = false;
|
||||
ulSquadra.Visible = false;
|
||||
ulMagazzino.Visible = true;
|
||||
}
|
||||
else if(devicesAuthProxy.pagCorrente == "Squadra" || devicesAuthProxy.pagCorrente == "Menu")
|
||||
{
|
||||
ulStd.Visible = false;
|
||||
ulSquadra.Visible = true;
|
||||
ulMagazzino.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ulStd.Visible = true;
|
||||
ulSquadra.Visible = false;
|
||||
ulMagazzino.Visible = false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// verifica che la pagina sia tra quelle autorizzate x l'utente
|
||||
@@ -236,7 +260,30 @@ namespace WebSCR.WebUserControls
|
||||
memLayer.ML.setCookieVal(memLayer.ML.confReadString("AuthCookieName"), "");
|
||||
memLayer.ML.emptyCookieVal(memLayer.ML.confReadString("AuthCookieName"));
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// restituisce stato active se pagina corrente...
|
||||
/// </summary>
|
||||
/// <param name="nomeElem"></param>
|
||||
/// <returns></returns>
|
||||
public string liClass(object nomeElem)
|
||||
{
|
||||
string answ = "";
|
||||
string nome = nomeElem.ToString();
|
||||
if (Request.Url.ToString().ToLower().Contains(nome.ToLower())) answ = "ui-btn-active";
|
||||
|
||||
// !!!FARE!!! controllo visibilità da permessi (x squadre in particolare)
|
||||
#if false
|
||||
// se E' Dettaglio e non c'è cod Impegno metto disabled...
|
||||
if (nome.Contains("Dettaglio"))
|
||||
{
|
||||
if (!memLayer.ML.isInSessionObject("Impegno"))
|
||||
{
|
||||
answ += " ui-state-disabled";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
+36
@@ -29,5 +29,41 @@ namespace WebSCR.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblVers;
|
||||
|
||||
/// <summary>
|
||||
/// divHeaderMenu control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHeaderMenu;
|
||||
|
||||
/// <summary>
|
||||
/// ulStd control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulStd;
|
||||
|
||||
/// <summary>
|
||||
/// ulSquadra control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulSquadra;
|
||||
|
||||
/// <summary>
|
||||
/// ulMagazzino control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulMagazzino;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-mini" style="width: 100%; margin: -2px -4px; text-align: center; margin: auto;">
|
||||
<uc1:mod_selSquadre runat="server" ID="mod_selSquadre" />
|
||||
<div style="width: 90%; float: left; text-align: center; margin: auto;">
|
||||
<uc1:mod_selSquadre runat="server" ID="mod_selSquadre" />
|
||||
</div>
|
||||
<div style="width: 10%; float: right; text-align: center; margin: auto; min-width: 80px;">
|
||||
<asp:LinkButton runat="server" ID="lbLess" OnClick="lbLess_Click"><i class="fa fa-minus-square fa-2x"></i></asp:LinkButton>
|
||||
|
||||
<asp:LinkButton runat="server" ID="lbMore" OnClick="lbMore_Click"><i class="fa fa-plus-square fa-2x"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-mini" style="width: 100%;">
|
||||
<div style="min-width: 85px; width: 20%; float: left;">
|
||||
@@ -49,7 +56,7 @@
|
||||
<div style="width: 25%; float: right;">
|
||||
<div data-role="listview" data-inset="true">
|
||||
<div class="ui-body">
|
||||
<uc1:mod_compSquadra runat="server" id="mod_compSquadra" />
|
||||
<uc1:mod_compSquadra runat="server" ID="mod_compSquadra" />
|
||||
</div>
|
||||
<div class="ui-body">
|
||||
<uc1:mod_fileImpegno runat="server" ID="mod_fileImpegno" />
|
||||
|
||||
@@ -48,7 +48,15 @@ namespace WebSCR.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
void mod_filtroPeriodo_eh_selData(object sender, EventArgs e)
|
||||
{
|
||||
refreshDetail();
|
||||
DateTime adesso = DateTime.Now;
|
||||
try
|
||||
{
|
||||
adesso = Convert.ToDateTime(mod_filtroPeriodo.dataFrom);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
Response.Redirect(string.Format("{0}?Data={1:yyyy-MM-dd}", devicesAuthProxy.pagCorrente, adesso));
|
||||
//refreshDetail();
|
||||
}
|
||||
/// <summary>
|
||||
/// recupera valore querystring
|
||||
@@ -76,6 +84,7 @@ namespace WebSCR.WebUserControls
|
||||
mod_impegno.Visible = false;
|
||||
mod_fileImpegno.Visible = false;
|
||||
mod_fileUpload.Visible = false;
|
||||
mod_compSquadra.Visible = false;
|
||||
if (qsVal("Data") != "")
|
||||
{
|
||||
if (qsVal("IdxImpegno") != "")
|
||||
@@ -87,6 +96,7 @@ namespace WebSCR.WebUserControls
|
||||
mod_dettInt.Visible = true;
|
||||
mod_fileImpegno.Visible = true;
|
||||
mod_fileUpload.Visible = true;
|
||||
mod_compSquadra.Visible = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -100,9 +110,17 @@ namespace WebSCR.WebUserControls
|
||||
// metto in sessione squadra sel
|
||||
int idxImpegno = 0;
|
||||
string CodSquadra = "";
|
||||
DateTime DataImp = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
|
||||
DateTime DataImp = DateTime.Now;
|
||||
try
|
||||
{
|
||||
if (memLayer.ML.isInSessionObject("DataRif"))
|
||||
{
|
||||
DataImp = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
|
||||
}
|
||||
else if (memLayer.ML.getCookieVal("DataRif") != "")
|
||||
{
|
||||
DataImp = Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
|
||||
}
|
||||
idxImpegno = Convert.ToInt32(qsVal("IdxImpegno"));
|
||||
DS_Applicazione.ImpegniRow rigaImp = DtProxy.man.taImp.getByKey(idxImpegno)[0];
|
||||
CodSquadra = rigaImp.CodSquadra;
|
||||
@@ -137,6 +155,19 @@ namespace WebSCR.WebUserControls
|
||||
/// </summary>
|
||||
private void refreshDetail()
|
||||
{
|
||||
// ricarica eventuale data se in cookie e non in URL...
|
||||
if (qsVal("Data") == "")
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
try
|
||||
{
|
||||
//adesso = Convert.ToDateTime(memLayer.ML.StringSessionObj("DataRif"));
|
||||
adesso = Convert.ToDateTime(mod_filtroPeriodo.dataFrom);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
Response.Redirect(string.Format("{0}?Data={1:yyyy-MM-dd}", devicesAuthProxy.pagCorrente, adesso));
|
||||
}
|
||||
mod_dispPeriodo.DataFrom = mod_filtroPeriodo.dataFrom.ToString("yyyy-MM-dd");
|
||||
mod_dispPeriodo.NumGG = mod_filtroPeriodo.numGG.ToString();
|
||||
mod_dispPeriodo.Zona = mod_filtroZona.Zona;
|
||||
@@ -144,5 +175,27 @@ namespace WebSCR.WebUserControls
|
||||
mod_impegno.doUpdate();
|
||||
mod_dettInt.doUpdate();
|
||||
}
|
||||
|
||||
protected void lbLess_Click(object sender, EventArgs e)
|
||||
{
|
||||
int days = mod_giornata.day2show;
|
||||
// se è almeno 2...
|
||||
if (days > memLayer.ML.CRI("minDays"))
|
||||
{
|
||||
mod_giornata.day2show = mod_giornata.day2show - 1;
|
||||
Response.Redirect(devicesAuthProxy.pagCorrente);
|
||||
}
|
||||
}
|
||||
|
||||
protected void lbMore_Click(object sender, EventArgs e)
|
||||
{
|
||||
int days = mod_giornata.day2show;
|
||||
// se è meno di 8 2...
|
||||
if (days < memLayer.ML.CRI("maxDays"))
|
||||
{
|
||||
mod_giornata.day2show = mod_giornata.day2show + 1;
|
||||
Response.Redirect(devicesAuthProxy.pagCorrente);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,24 @@ namespace WebSCR.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::WebSCR.WebUserControls.mod_selSquadre mod_selSquadre;
|
||||
|
||||
/// <summary>
|
||||
/// lbLess control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbLess;
|
||||
|
||||
/// <summary>
|
||||
/// lbMore control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbMore;
|
||||
|
||||
/// <summary>
|
||||
/// mod_dispPeriodo control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
@@ -1534,6 +1534,16 @@
|
||||
<param name="diritto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:SteamWare.devicesAuthProxy.setupLingua">
|
||||
<summary>
|
||||
imposta la lingua utente dal valore della riga DB
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.lingua">
|
||||
<summary>
|
||||
oggetto lingua utente con metodi get/set
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.pagCorrente">
|
||||
<summary>
|
||||
pagina correntemente visualizzata (URL in sessione)
|
||||
|
||||
Binary file not shown.
@@ -36,12 +36,16 @@
|
||||
<add key="urlGestUtenti" value="UserAdmin" />
|
||||
<add key="adminEmail" value="samuele@steamware.net" />
|
||||
<add key="PageNoIndex" value="UserAdmin#Test" />
|
||||
<!--gestione calendario-->
|
||||
<add key="day2show" value="5" />
|
||||
<add key="minDays" value="1" />
|
||||
<add key="maxDays" value="10" />
|
||||
<!--file allegati documenti-->
|
||||
<add key="fileUploadFolder" value="~/DocUploader"/>
|
||||
<!--gestione squadre-->
|
||||
<add key="NumGg" value="5" />
|
||||
<!--gestione sw uploader locale-->
|
||||
<add key="localUplURL" value="http://IIS02" />
|
||||
<add key="localUplURL" value="http://IIS02/" />
|
||||
<!--stringhe connessione-->
|
||||
<add key="WebSCRConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||
<add key="WebSCRFilesConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=WebSCR;Persist Security Info=True;User ID=sa;Password=keyhammer;" />
|
||||
@@ -87,6 +91,7 @@
|
||||
<error statusCode="403" redirect="NoAccess.htm" />
|
||||
<error statusCode="404" redirect="FileNotFound.htm" />
|
||||
</customErrors>-->
|
||||
<customErrors mode="Off"/>
|
||||
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Optimization" />
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile.theme-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile.theme-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile.structure-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile.structure-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile.inline-svg-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile.inline-svg-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile.inline-png-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile.inline-png-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile.icons-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile.icons-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile.external-png-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile.external-png-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/jquery.mobile-1.4.5.css",
|
||||
"inputFiles": [
|
||||
"Content/jquery.mobile-1.4.5.css"
|
||||
]
|
||||
},
|
||||
{
|
||||
"outputFileName": "Content/font-awesome.css",
|
||||
"inputFiles": [
|
||||
"Content/font-awesome.css"
|
||||
]
|
||||
}
|
||||
]
|
||||
Generated
+70
-40
@@ -3866,7 +3866,7 @@ namespace WebSCR_data {
|
||||
this.columnIdxImpegno.ReadOnly = true;
|
||||
this.columnIdxImpegno.Unique = true;
|
||||
this.columnNomeImpegno.ReadOnly = true;
|
||||
this.columnNomeImpegno.MaxLength = 103;
|
||||
this.columnNomeImpegno.MaxLength = 500;
|
||||
this.columnInizio.AllowDBNull = false;
|
||||
this.columnFine.ReadOnly = true;
|
||||
this.columnCodSquadra.AllowDBNull = false;
|
||||
@@ -12306,7 +12306,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_elencoImpegni";
|
||||
@@ -12335,62 +12335,69 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecAgeDd", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[4].Connection = this.Connection;
|
||||
this._commandCollection[4].CommandText = "dbo.stp_Imp_insertQuery";
|
||||
this._commandCollection[4].CommandText = "dbo.stp_Imp_getBySearchCronologico";
|
||||
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Stato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataCreaz", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[5].Connection = this.Connection;
|
||||
this._commandCollection[5].CommandText = "dbo.stp_Imp_recFineInt";
|
||||
this._commandCollection[5].CommandText = "dbo.stp_Imp_insertQuery";
|
||||
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[6].Connection = this.Connection;
|
||||
this._commandCollection[6].CommandText = "dbo.stp_Imp_recStartInt";
|
||||
this._commandCollection[6].CommandText = "dbo.stp_Imp_recFineInt";
|
||||
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FineInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonFine", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[7].Connection = this.Connection;
|
||||
this._commandCollection[7].CommandText = "dbo.stp_Imp_updateQuery";
|
||||
this._commandCollection[7].CommandText = "dbo.stp_Imp_recStartInt";
|
||||
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@InizioInt", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LatInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LonInizio", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[8].Connection = this.Connection;
|
||||
this._commandCollection[8].CommandText = "dbo.stp_Imp_updNoteInt";
|
||||
this._commandCollection[8].CommandText = "dbo.stp_Imp_updateQuery";
|
||||
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteInt", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoOrario", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSquadra", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RifOC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteGen", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UrlDoc", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumOp", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RitUsato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ascensore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PianoCons", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UserMod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[9].Connection = this.Connection;
|
||||
this._commandCollection[9].CommandText = "dbo.stp_Imp_updStart";
|
||||
this._commandCollection[9].CommandText = "dbo.stp_Imp_updNoteInt";
|
||||
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NoteInt", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[10].Connection = this.Connection;
|
||||
this._commandCollection[10].CommandText = "dbo.stp_Imp_updStart";
|
||||
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxImpegno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOraNew", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -12492,11 +12499,34 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_Applicazione.ImpegniDataTable getBySearchCron(string Stato, global::System.Nullable<global::System.DateTime> DataCreaz) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[4];
|
||||
if ((Stato == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(Stato));
|
||||
}
|
||||
if ((DataCreaz.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((System.DateTime)(DataCreaz.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_Applicazione.ImpegniDataTable dataTable = new DS_Applicazione.ImpegniDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int insertQuery(global::System.Nullable<global::System.DateTime> DataOra, string TipoOrario, string CodSquadra, string RifOC, global::System.Nullable<int> anno) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
if ((DataOra.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((System.DateTime)(DataOra.Value));
|
||||
}
|
||||
@@ -12548,7 +12578,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int recFineInt(global::System.Nullable<int> IdxImpegno, global::System.Nullable<global::System.DateTime> FineInt, global::System.Nullable<double> LatFine, global::System.Nullable<double> LonFine) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
||||
if ((IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxImpegno.Value));
|
||||
}
|
||||
@@ -12594,7 +12624,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int recStartInt(global::System.Nullable<int> IdxImpegno, global::System.Nullable<global::System.DateTime> InizioInt, global::System.Nullable<double> LatInizio, global::System.Nullable<double> LonInizio) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
||||
if ((IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxImpegno.Value));
|
||||
}
|
||||
@@ -12640,7 +12670,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updateQuery(global::System.Nullable<int> Original_IdxImpegno, string TipoOrario, string CodSquadra, string RifOC, string NoteGen, string UrlDoc, global::System.Nullable<int> NumOp, global::System.Nullable<int> RitUsato, global::System.Nullable<int> Ascensore, global::System.Nullable<int> PianoCons, string UserMod) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
||||
if ((Original_IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(Original_IdxImpegno.Value));
|
||||
}
|
||||
@@ -12728,7 +12758,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updNoteInt(global::System.Nullable<int> IdxImpegno, string NoteInt) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
||||
if ((IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxImpegno.Value));
|
||||
}
|
||||
@@ -12762,7 +12792,7 @@ SELECT CodCliente, RagSoc, CodFis, Tel, Cell, EnableSMS, Email, Indir, Cap, Loca
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int updStart(global::System.Nullable<int> IdxImpegno, global::System.Nullable<global::System.DateTime> DataOraNew) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
|
||||
if ((IdxImpegno.HasValue == true)) {
|
||||
command.Parameters[1].Value = ((int)(IdxImpegno.Value));
|
||||
}
|
||||
|
||||
@@ -632,6 +632,18 @@ FROM v_elencoImpegni</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_getBySearchCronologico" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getBySearchCron" GetMethodModifier="Public" GetMethodName="getBySearchCron" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getBySearchCron" UserSourceName="getBySearchCron">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_Imp_getBySearchCronologico</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Stato" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataCreaz" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_Imp_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -777,7 +789,7 @@ FROM v_elencoImpegni</CommandText>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_ImpegniCalTableAdapter" GeneratorDataComponentClassName="v_ImpegniCalTableAdapter" Name="v_ImpegniCal" UserDataComponentName="v_ImpegniCalTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_ImpegniCal" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_ImpegniCal" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>SELECT * FROM dbo.v_ImpegniCal</CommandText>
|
||||
@@ -1166,7 +1178,7 @@ FROM v_AssSqDip</CommandText>
|
||||
<Mapping SourceColumn="CognomeNome" DataSetColumn="CognomeNome" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AsSq_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AsSq_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AsSq_delete</CommandText>
|
||||
@@ -1191,7 +1203,7 @@ FROM v_AssSqDip</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AsSq_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
|
||||
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AsSq_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_AsSq_insert</CommandText>
|
||||
@@ -1618,7 +1630,7 @@ SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</Co
|
||||
<xs:element name="NomeImpegno" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNomeImpegno" msprop:Generator_ColumnPropNameInRow="NomeImpegno" msprop:Generator_ColumnPropNameInTable="NomeImpegnoColumn" msprop:Generator_UserColumnName="NomeImpegno" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="103" />
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="3" ViewPortY="155" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:AnagSquadre" ZOrder="9" X="579" Y="415" Height="305" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:AnagZone" ZOrder="17" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
@@ -13,7 +13,7 @@
|
||||
<Shape ID="DesignTable:Impegni" ZOrder="6" X="13" Y="159" Height="514" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
||||
<Shape ID="DesignTable:DispImpTot" ZOrder="14" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:DispImpSquadre" ZOrder="15" X="931" Y="666" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="4" X="393" Y="937" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="4" X="393" Y="937" Height="210" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Disponibilita" ZOrder="8" X="707" Y="839" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:DettImpegno" ZOrder="12" X="16" Y="684" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_clientiZone" ZOrder="10" X="1049" Y="877" Height="229" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
|
||||
Binary file not shown.
@@ -1534,6 +1534,16 @@
|
||||
<param name="diritto"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:SteamWare.devicesAuthProxy.setupLingua">
|
||||
<summary>
|
||||
imposta la lingua utente dal valore della riga DB
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.lingua">
|
||||
<summary>
|
||||
oggetto lingua utente con metodi get/set
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:SteamWare.devicesAuthProxy.pagCorrente">
|
||||
<summary>
|
||||
pagina correntemente visualizzata (URL in sessione)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user