Modifica x reset matricola se torna su pagina calendario (ACTION=RESET)
This commit is contained in:
@@ -6,13 +6,13 @@ using Microsoft.AspNet.FriendlyUrls;
|
||||
|
||||
namespace WebSCR
|
||||
{
|
||||
public static class RouteConfig
|
||||
public static class RouteConfig
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
public static void RegisterRoutes(RouteCollection routes)
|
||||
{
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
}
|
||||
var settings = new FriendlyUrlSettings();
|
||||
settings.AutoRedirectMode = RedirectMode.Permanent;
|
||||
routes.EnableFriendlyUrls(settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
@@ -8,10 +9,17 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace WebSCR
|
||||
{
|
||||
public partial class Pianificazione : System.Web.UI.Page
|
||||
public partial class Pianificazione : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
// controllo se x caseo ha ACTION=RESET --> elimina matricola...
|
||||
if (memLayer.ML.QSS("ACTION") == "RESET")
|
||||
{
|
||||
// rimuovo matrOp
|
||||
memLayer.ML.emptySessionVal("matrOp");
|
||||
memLayer.ML.emptySessionVal("errorMess");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+8
-8
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR {
|
||||
@@ -13,11 +13,11 @@ namespace WebSCR {
|
||||
public partial class Pianificazione {
|
||||
|
||||
/// <summary>
|
||||
/// mod_pianificazione1 control.
|
||||
/// Controllo mod_pianificazione1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::WebSCR.WebUserControls.mod_pianificazione mod_pianificazione1;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<NameOfLastUsedPublishProfile>OVH-Rigamonti</NameOfLastUsedPublishProfile>
|
||||
<NameOfLastUsedPublishProfile>IIS02</NameOfLastUsedPublishProfile>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
@@ -10,7 +10,7 @@
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
|
||||
@@ -1,8 +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" data-iconpos="top">
|
||||
<ul runat="server" id="ulStd">
|
||||
<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>
|
||||
<ul runat="server" id="ulStd">
|
||||
<li><a href="Cronologico" data-icon="grid" class='<%: liClass("Cronologico#ElencoInt") %>'>Magazzino</a></li>
|
||||
<li><a href="Pianificazione?ACTION=RESET" 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>
|
||||
|
||||
+11
-11
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR.WebUserControls {
|
||||
@@ -13,20 +13,20 @@ namespace WebSCR.WebUserControls {
|
||||
public partial class mod_footer {
|
||||
|
||||
/// <summary>
|
||||
/// divFooterMenu control.
|
||||
/// Controllo divFooterMenu.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divFooterMenu;
|
||||
|
||||
/// <summary>
|
||||
/// ulStd control.
|
||||
/// Controllo ulStd.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulStd;
|
||||
}
|
||||
|
||||
@@ -1,59 +1,59 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_header.ascx.cs" Inherits="WebSCR.WebUserControls.mod_header" %>
|
||||
<asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick"></asp:Timer>
|
||||
<div style="background-color: <%: colorSquadraCurr %>; min-height: 2.6em;">
|
||||
<div style="font-size: 1.1em; text-align: center; margin: auto;">
|
||||
WSC - <%: titolo %>
|
||||
<div style="font-size: 1.1em; text-align: center; margin: auto;">
|
||||
WSC - <%: titolo %>
|
||||
</div>
|
||||
<div class="ui-btn-left">
|
||||
<div class="flLeft">
|
||||
<a href="Default" data-icon="home" class="ui-btn ui-shadow ui-corner-all ui-icon-lock ui-btn-icon-left ui-btn-inline">
|
||||
<asp:Label ID="lblVers" runat="server" Font-Bold="false" /></a>
|
||||
</div>
|
||||
<div class="ui-btn-left">
|
||||
<div class="flLeft">
|
||||
<a href="Default" data-icon="home" class="ui-btn ui-shadow ui-corner-all ui-icon-lock ui-btn-icon-left ui-btn-inline">
|
||||
<asp:Label ID="lblVers" runat="server" Font-Bold="false" /></a>
|
||||
</div>
|
||||
<div class="flLeft">
|
||||
<asp:UpdateProgress ID="updtRicerca" runat="server" DisplayAfter="3" DynamicLayout="true">
|
||||
<ProgressTemplate>
|
||||
<div id="progress_back">
|
||||
</div>
|
||||
<div id="progress_top">
|
||||
<i class="fa fa-cog fa-spin fa-2x"></i> <i class="fa fa-cog fa-spin fa-2x"></i> <i class="fa fa-cog fa-spin fa-2x"></i>
|
||||
</div>
|
||||
</ProgressTemplate>
|
||||
</asp:UpdateProgress>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-btn-right">
|
||||
<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 class="flLeft">
|
||||
<asp:UpdateProgress ID="updtRicerca" runat="server" DisplayAfter="3" DynamicLayout="true">
|
||||
<ProgressTemplate>
|
||||
<div id="progress_back">
|
||||
</div>
|
||||
<div id="progress_top">
|
||||
<i class="fa fa-cog fa-spin fa-2x"></i> <i class="fa fa-cog fa-spin fa-2x"></i> <i class="fa fa-cog fa-spin fa-2x"></i>
|
||||
</div>
|
||||
</ProgressTemplate>
|
||||
</asp:UpdateProgress>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-btn-right">
|
||||
<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 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>
|
||||
<li>
|
||||
<asp:HyperLink runat="server" ID="hlLocalUploader" Text="Aggiornamento Anagrafiche" Target="_blank" CssClass="ui-mini ui-btn ui-shadow ui-corner-all ui-icon-action" /></li>
|
||||
</ul>
|
||||
<ul runat="server" id="ulSquadra" visible="false">
|
||||
<li><a href="IntSquadre" data-icon="mail" class='<%: liClass("IntSquadre") %>'>Gestione Interventi</a></li>
|
||||
<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 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?ACTION=RESET" data-icon="calendar" class='<%: liClass("Pianificazione") %>'>Pianificazione</a></li>
|
||||
<li><a href="Setup" data-icon="gear" class='<%: liClass("Setup") %>'>Setup</a></li>
|
||||
<li>
|
||||
<asp:HyperLink runat="server" ID="hlLocalUploader" Text="Aggiornamento Anagrafiche" Target="_blank" CssClass="ui-mini ui-btn ui-shadow ui-corner-all ui-icon-action" /></li>
|
||||
</ul>
|
||||
<ul runat="server" id="ulSquadra" visible="false">
|
||||
<li><a href="IntSquadre" data-icon="mail" class='<%: liClass("IntSquadre") %>'>Gestione Interventi</a></li>
|
||||
<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>
|
||||
<div style="float: left; font-size: 0.7em; font-weight: 100; margin-left: 4px;">
|
||||
<%: DateTime.Now.ToString("ddd dd/MM/yyyy HH:mm:ss") %>
|
||||
</div>
|
||||
<%--<div style="text-align: center; font-size: 1.2em; font-weight: 100; color: #507CD1;">
|
||||
<div style="float: right; font-size: 0.7em; font-weight: 100; margin-right: 4px;">
|
||||
<%: CognomeNome %>
|
||||
</div>
|
||||
<div style="float: left; font-size: 0.7em; font-weight: 100; margin-left: 4px;">
|
||||
<%: DateTime.Now.ToString("ddd dd/MM/yyyy HH:mm:ss") %>
|
||||
</div>
|
||||
<%--<div style="text-align: center; font-size: 1.2em; font-weight: 100; color: #507CD1;">
|
||||
<%: DataSel %> | <%: ClienteSel %> | <%: SquadraSel %>
|
||||
</div>--%>
|
||||
</div>
|
||||
|
||||
+29
-29
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebSCR.WebUserControls {
|
||||
@@ -13,74 +13,74 @@ namespace WebSCR.WebUserControls {
|
||||
public partial class mod_header {
|
||||
|
||||
/// <summary>
|
||||
/// Timer1 control.
|
||||
/// Controllo Timer1.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.Timer Timer1;
|
||||
|
||||
/// <summary>
|
||||
/// lblVers control.
|
||||
/// Controllo lblVers.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblVers;
|
||||
|
||||
/// <summary>
|
||||
/// updtRicerca control.
|
||||
/// Controllo updtRicerca.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdateProgress updtRicerca;
|
||||
|
||||
/// <summary>
|
||||
/// divHeaderMenu control.
|
||||
/// Controllo divHeaderMenu.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHeaderMenu;
|
||||
|
||||
/// <summary>
|
||||
/// ulStd control.
|
||||
/// Controllo ulStd.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulStd;
|
||||
|
||||
/// <summary>
|
||||
/// hlLocalUploader control.
|
||||
/// Controllo hlLocalUploader.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HyperLink hlLocalUploader;
|
||||
|
||||
/// <summary>
|
||||
/// ulSquadra control.
|
||||
/// Controllo ulSquadra.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulSquadra;
|
||||
|
||||
/// <summary>
|
||||
/// ulMagazzino control.
|
||||
/// Controllo ulMagazzino.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ulMagazzino;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user