Update TBA:
- fix pagina conferma - NON si modifica se non si fa toggle mostra/nascondi conferma - periodo indicato meglio
This commit is contained in:
@@ -156,15 +156,50 @@ namespace MoonProTablet.WebUserControls
|
||||
string answ = "";
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
var odlDetail = DataLayerObj.currODLRowTab(idxMacchina);
|
||||
if (odlDetail != null && odlDetail.Rows.Count > 0)
|
||||
//var odlDetail = DataLayerObj.currODLRowTab(idxMacchina);
|
||||
//if (odlDetail != null && odlDetail.Rows.Count > 0)
|
||||
//{
|
||||
// answ = odlDetail[0].KeyRichiesta;
|
||||
//}
|
||||
var odlDetail = getCurrOdlRow();
|
||||
if (odlDetail != null)
|
||||
{
|
||||
answ = odlDetail[0].KeyRichiesta;
|
||||
answ = odlDetail.KeyRichiesta;
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
public DateTime inizioOdl
|
||||
{
|
||||
get
|
||||
{
|
||||
DateTime answ = DateTime.Now.AddYears(-1);
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
var odlDetail = getCurrOdlRow();
|
||||
if (odlDetail != null)
|
||||
{
|
||||
answ = odlDetail.DataInizio;
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public DS_ProdTempi.ODLRow getCurrOdlRow()
|
||||
{
|
||||
DS_ProdTempi.ODLRow answ = null;
|
||||
if (idxOdl > 0)
|
||||
{
|
||||
DS_ProdTempi.ODLDataTable odlDetail = DataLayerObj.currODLRowTab(idxMacchina);
|
||||
if (odlDetail != null && odlDetail.Rows.Count > 0)
|
||||
{
|
||||
answ = odlDetail[0];
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Num giorni configurati x selezione ODL in scadenza
|
||||
|
||||
Reference in New Issue
Block a user