diff --git a/MP-TAB/Web.config b/MP-TAB/Web.config index ff3f931a..8698bd95 100644 --- a/MP-TAB/Web.config +++ b/MP-TAB/Web.config @@ -58,7 +58,7 @@ - + diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx b/MP-TAB/WebUserControls/mod_ODL.ascx index a2617c4c..8b55cff0 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx +++ b/MP-TAB/WebUserControls/mod_ODL.ascx @@ -1,5 +1,7 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_ODL.ascx.cs" Inherits="MoonProTablet.WebUserControls.mod_ODL" %> <%@ Register Src="~/WebUserControls/mod_tempoMSMC.ascx" TagPrefix="uc1" TagName="mod_tempoMSMC" %> +<%@ Register Src="~/WebUserControls/cmp_newODL.ascx" TagPrefix="uc1" TagName="cmp_newODL" %> +
@@ -61,6 +63,22 @@ Effettua Riattrezzaggio
+
+
+
+
+
+
+ <%: lblCreaOdl %> +
+
+
+
+ +
+
+
+
diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.cs index 3404b729..6ad2c82d 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.cs @@ -581,7 +581,7 @@ namespace MoonProTablet.WebUserControls protected void chkTutti_CheckedChanged(object sender, EventArgs e) { // SE selezionato tutti cambio valore idxMacchina... - if(chkTutti.Checked) + if (chkTutti.Checked) { hfIdxMacchina.Value = "0"; } @@ -592,5 +592,29 @@ namespace MoonProTablet.WebUserControls ddlODL.DataBind(); checkDDL(); } + /// + /// toggle visualizzazione creazioen ODL provvisorio + /// + /// + /// + protected void lbtShowCreaOdlProvv_Click(object sender, EventArgs e) + { + cmp_newODL.Visible = !cmp_newODL.Visible; + } + /// + /// Testo x button creazione nuovo ODL + /// + public string lblCreaOdl + { + get + { + string answ = "CREAZIONE ODL PROVVISORIO"; + if (cmp_newODL.Visible) + { + answ = "NASCONDI creazione ODL provvisorio"; + } + return answ; + } + } } } \ No newline at end of file diff --git a/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs b/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs index 286a9187..d5267e0f 100644 --- a/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs +++ b/MP-TAB/WebUserControls/mod_ODL.ascx.designer.cs @@ -156,6 +156,24 @@ namespace MoonProTablet.WebUserControls { /// protected global::System.Web.UI.WebControls.LinkButton lbtSplitODL; + /// + /// Controllo lbtShowCreaOdlProvv. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtShowCreaOdlProvv; + + /// + /// Controllo cmp_newODL. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::MoonProTablet.WebUserControls.cmp_newODL cmp_newODL; + /// /// Controllo lblOut. ///