diff --git a/GPW_Admin/BaseUserControl.cs b/GPW_Admin/BaseUserControl.cs
index 788c55a..7a850cb 100644
--- a/GPW_Admin/BaseUserControl.cs
+++ b/GPW_Admin/BaseUserControl.cs
@@ -32,6 +32,18 @@ namespace GPW_Admin
#endregion Public Events
+ #region Public Properties
+
+ ///
+ /// controllo stato licenze!
+ ///
+ public bool chkLicOk
+ {
+ get => (licenzeGPW.checkLicenze && licenzeGPW.checkPayload);
+ }
+
+ #endregion Public Properties
+
#region Public Methods
///
diff --git a/GPW_Admin/compilerconfig.json b/GPW_Admin/compilerconfig.json
index 3b53963..a501e28 100644
--- a/GPW_Admin/compilerconfig.json
+++ b/GPW_Admin/compilerconfig.json
@@ -10,5 +10,9 @@
{
"outputFile": "Content/Site.css",
"inputFile": "Content/Site.less"
+ },
+ {
+ "outputFile": "Content/font.css",
+ "inputFile": "Content/font.less"
}
]
\ No newline at end of file
diff --git a/GPW_Data/licenzeGPW.cs b/GPW_Data/licenzeGPW.cs
index a3d21ca..ab91ce6 100644
--- a/GPW_Data/licenzeGPW.cs
+++ b/GPW_Data/licenzeGPW.cs
@@ -60,6 +60,32 @@ namespace GPW_data
}
}
+ ///
+ /// verifica se il payload delle licenze attivate sia valido (con server online)
+ ///
+ public static bool checkPayload
+ {
+ get
+ {
+ bool answ = false;
+
+ // FIXME TODO !!!
+
+ //bool answ = false;
+ //try
+ //{
+ // answ = utentiAttivi <= licenzeAttive;
+ // if (!answ && memLayer.ML.confReadInt("_logLevel") > 5)
+ // {
+ // logger.lg.scriviLog(string.Format("WARNING licenze: utenti attivi {0} / licenziati {1}", utentiAttivi, licenzeAttive), tipoLog.WARNING);
+ // }
+ //}
+ //catch
+ //{ }
+ return answ;
+ }
+ }
+
///
/// nome installazione sw
///