Fix display scarti x tavola
This commit is contained in:
@@ -73,6 +73,16 @@ namespace MP_TAB3.Components
|
||||
{
|
||||
enableScarti = SMServ.GetConfBool("enableScarti");
|
||||
IdxMaccSel = RecMSE.IdxMacchina;
|
||||
bool isMulti = SMServ.DictMacchMulti[IdxMaccSel] == 1;
|
||||
if (isMulti)
|
||||
{
|
||||
var idxMSel = MServ.UserPrefGet(IdxMaccSel);
|
||||
if (!string.IsNullOrEmpty(idxMSel))
|
||||
{
|
||||
IdxMaccSel = idxMSel;
|
||||
}
|
||||
}
|
||||
|
||||
DateTime fine = DateTime.Today.AddDays(1);
|
||||
DateTime inizio = fine.AddDays(-8);
|
||||
CurrPeriodo = new Periodo(inizio, fine);
|
||||
|
||||
Reference in New Issue
Block a user