43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace MP_ADM
|
|
{
|
|
public partial class CTrackBCode : BasePage
|
|
{
|
|
#region Private Methods
|
|
|
|
private void checkEnabled()
|
|
{
|
|
bool optPar = memLayer.ML.CRB("OptAdmCTrackEnabled");
|
|
divContent.Visible = optPar;
|
|
string messaggio = "";
|
|
if (!optPar)
|
|
{
|
|
messaggio = "Attenzione: Gestione CTrack disabilitata";
|
|
}
|
|
lblDataImportOut.Text = messaggio;
|
|
}
|
|
|
|
#endregion Private Methods
|
|
|
|
#region Protected Methods
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
((MoonPro)this.Master).showSearch = false;
|
|
}
|
|
((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");
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |