AuslastungBerechnung - Bugfix bei prozentualer Verteilung im Team

This commit is contained in:
2025-01-08 09:35:31 +01:00
parent 8fb098725e
commit 4af87b5617

View File

@@ -349,8 +349,8 @@ namespace BeWo.Report.ReportObjects
if (scDc != null)
{
if (scDc.ApprovedHoursPerWeek > 0 ||
scDc.ApprovedHoursPerWeekWithRateFactor > 0 ||
if (scDc.ApprovedHoursPerWeek > 0.00001m ||
scDc.ApprovedHoursPerWeekWithRateFactor > 0.00001m ||
!CheckIfApprovedGreaterZero())
{
empDetail.SupportConceptDetailList.Add(scDc);
@@ -365,9 +365,6 @@ namespace BeWo.Report.ReportObjects
}
}
}
}
protected virtual bool CheckIfApprovedGreaterZero()