Files
MoonPro.net/MP-ADM/CTrackBCode.aspx.cs
T
Samuele E. Locatelli 9e8e194839 Fix naming parametro
2018-12-20 09:32:03 +01:00

30 lines
930 B
C#

using SteamWare;
using System;
namespace MP_ADM
{
public partial class CTrackBCode : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
((MoonPro)this.Master).headCssClass = "bg-secondary text-warning";
((MoonPro)this.Master).mainCssClass = "table-secondary";
checkEnabled();
string codPre = memLayer.ML.CRS("OptAdmCTrack_CodPre");
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptCTrack_enbSelFase");
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptCTrack_CodGruppo");
}
private void checkEnabled()
{
bool optPar = memLayer.ML.CRB("OptAdmCTrackEnabled");
divContent.Visible = optPar;
string messaggio = "";
if (!optPar)
{
messaggio = "Attenzione: Gestione CTrack disabilitata";
}
lblDataImportOut.Text = messaggio;
}
}
}