diff --git a/MP-ADM/approvazioneODL.aspx b/MP-ADM/approvazioneODL.aspx
index c8ab716a..36859d71 100644
--- a/MP-ADM/approvazioneODL.aspx
+++ b/MP-ADM/approvazioneODL.aspx
@@ -1,5 +1,9 @@
<%@ Page Title="MPADM | ApprovazioneODL" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="approvazioneODL.aspx.cs" Inherits="MP_ADM.approvazioneODL" %>
-<%@ Register src="WebUserControls/mod_approvazioneODL.ascx" tagname="mod_approvazioneODL" tagprefix="uc2" %>
+
+<%@ Register Src="WebUserControls/mod_approvazioneODL.ascx" TagName="mod_approvazioneODL" TagPrefix="uc2" %>
+
+
+
diff --git a/MP-ADM/approvazioneODL.aspx.cs b/MP-ADM/approvazioneODL.aspx.cs
index e89dcc6d..7f861c96 100644
--- a/MP-ADM/approvazioneODL.aspx.cs
+++ b/MP-ADM/approvazioneODL.aspx.cs
@@ -1,12 +1,24 @@
-using System;
+using SteamWare;
+using System;
namespace MP_ADM
{
- public partial class approvazioneODL : System.Web.UI.Page
+ public partial class approvazioneODL : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
{
- protected void Page_Load(object sender, EventArgs e)
- {
-
- }
+ checkEnabled();
}
+ private void checkEnabled()
+ {
+ bool optPar = memLayer.ML.CRB("OptAdmApprTempiEnabled");
+ divContent.Visible = optPar;
+ string messaggio = "";
+ if (!optPar)
+ {
+ messaggio = "Attenzione: gestione approvazione cambio TC disabilitata";
+ }
+ lblDataImportOut.Text = messaggio;
+ }
+ }
}
\ No newline at end of file
diff --git a/MP-ADM/approvazioneODL.aspx.designer.cs b/MP-ADM/approvazioneODL.aspx.designer.cs
index 97b3bdab..eae322aa 100644
--- a/MP-ADM/approvazioneODL.aspx.designer.cs
+++ b/MP-ADM/approvazioneODL.aspx.designer.cs
@@ -12,6 +12,24 @@ namespace MP_ADM {
public partial class approvazioneODL {
+ ///
+ /// Controllo lblDataImportOut.
+ ///
+ ///
+ /// 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 lblDataImportOut;
+
+ ///
+ /// Controllo divContent.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl divContent;
+
///
/// Controllo mod_approvazioneODL1.
///