MH: RosterRO Bugfix
This commit is contained in:
@@ -225,12 +225,12 @@ namespace BeWo.Report.ReportObjects
|
||||
{
|
||||
if (c.ContractEndDate.HasValue)
|
||||
{
|
||||
if (c.EntryDate.Value <= reportDate && c.ContractEndDate.Value >= reportDate)
|
||||
if (c.EntryDate.HasValue && c.EntryDate.Value <= reportDate && c.ContractEndDate.Value >= reportDate)
|
||||
currentContract = c;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (c.EntryDate.Value <= reportDate)
|
||||
if (c.EntryDate.HasValue && c.EntryDate.Value <= reportDate)
|
||||
currentContract = c;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user