Michele: Correzione export
This commit is contained in:
parent
5955d02823
commit
dfcd2bcb14
@ -176,7 +176,17 @@ namespace VirtualTask.Controllers
|
||||
modelList = modelList.Where(x => x.codice_impianto.Equals(impianto)).ToList();
|
||||
}
|
||||
|
||||
if (!dataFin.ToString().Substring(0, 10).Equals("01/01/0001"))
|
||||
//if (!dataFin.ToString().Substring(0, 10).Equals("01/01/0001"))
|
||||
//{
|
||||
// modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date
|
||||
// && x.data_rapportino.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date).ToList();
|
||||
//}
|
||||
|
||||
if (dataFin != DateTime.MinValue)
|
||||
{
|
||||
modelList = modelList.Where(x => x.data_rapportino.GetValueOrDefault().Date >= dataIni.Date
|
||||
&& x.data_rapportino.GetValueOrDefault().Date <= dataFin.Date).ToList();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user