MH: aha EV Stundenkonto Bugfix

This commit is contained in:
2025-11-19 14:59:52 +01:00
parent 03e0edd3d0
commit 57789cc2ce

View File

@@ -24,11 +24,12 @@ namespace ahaEV
var msb = new CustomMitarbeiterstundenkontoBerechnung();
msb.CreateReport(pRO);
var stunden = 0.0m;
foreach (var ed in pRO.EmployeeDetailList)
{
var c = ed.Employee.GetValidContractForDate(pRO.ReportStartDate);
var stunden = 0.0m;
var c = ed.Employee.GetValidContractForDate(pRO.ReportStartDate);
if (c != null)
{
if (c.MonthlyTotalHours.HasValue)