CONFERMA
diff --git a/MP-TAB/WebUserControls/mod_confProd.ascx.cs b/MP-TAB/WebUserControls/mod_confProd.ascx.cs
index 020aaac0..4e83f6b9 100644
--- a/MP-TAB/WebUserControls/mod_confProd.ascx.cs
+++ b/MP-TAB/WebUserControls/mod_confProd.ascx.cs
@@ -248,8 +248,10 @@ namespace MoonProTablet.WebUserControls
private void checkConfig()
{
// verifico SE sia permesso gestire i "Pezzi lasciati" in macchina...
- lblNumLasciati.Visible = memLayer.ML.cdvb("enablePzProdLasciati");
- txtNumLasciati.Visible = memLayer.ML.cdvb("enablePzProdLasciati");
+ bool enablePzProdLasciati = memLayer.ML.cdvb("enablePzProdLasciati");
+ lblNumLasciati.Visible = enablePzProdLasciati;
+ txtNumLasciati.Visible = enablePzProdLasciati;
+ lblEmptyNumLasciati.Visible = !enablePzProdLasciati;
}
///
diff --git a/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs b/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs
index 8d089051..34ee2179 100644
--- a/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs
+++ b/MP-TAB/WebUserControls/mod_confProd.ascx.designer.cs
@@ -167,6 +167,15 @@ namespace MoonProTablet.WebUserControls
///
protected global::System.Web.UI.WebControls.TextBox txtNumLasciati;
+ ///
+ /// Controllo lblEmptyNumLasciati.
+ ///
+ ///
+ /// 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.Label lblEmptyNumLasciati;
+
///
/// Controllo lbtSalva.
///