MH: Wohlfahrt AZ Erfassung

This commit is contained in:
2023-10-10 15:51:08 +02:00
parent 5187040a8f
commit accb2cfcf5

View File

@@ -30,7 +30,7 @@ namespace ArbeiterwohlfahrtWesel
if (item.ServiceDescription != null && item.ServiceDescription.ServiceCategory != null)
{
if (item.ServiceDescription.ServiceCategory.Name == "Arbeitszeit")
if (item.ServiceDescription.ServiceCategory.Name.ToLower().Contains("arbeitszeit"))
{
return true;
}
@@ -71,7 +71,7 @@ namespace ArbeiterwohlfahrtWesel
if (item.ServiceDescription != null &&
item.ServiceDescription.ServiceCategory != null)
{
if (item.ServiceDescription.ServiceCategory.Name == "Arbeitszeit")
if (item.ServiceDescription.ServiceCategory.Name.ToLower().Contains("arbeitszeit"))
{
arbeitszeit += duration;
}