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.
///