LebenshilfeWolfsburg/Reporting/CustomReportCreator - Eingrenzung für neuen QB spezifiziert

This commit is contained in:
2025-07-02 14:10:30 +02:00
parent ab7fbf6af4
commit a831c81540

View File

@@ -206,7 +206,7 @@ namespace LebenshilfeWolfsburg.Reporting
{
if (c2s.CostBearer.Organisation.Function != null && !String.IsNullOrWhiteSpace(ro.Costbearer) && c2s.CostBearer.Organisation.Name == ro.Costbearer)
function = c2s.CostBearer.Organisation.Function.Value;
if (c2s.SupportConcept.Customer.Team2CustomerList != null && c2s.SupportConcept.Customer.Team2CustomerList.Any(t => t.Team.Name.ToLower().Contains("ass") || t.Team.Name.ToLower().Contains("reh")))
if (c2s.SupportConcept.Customer.Team2CustomerList != null && c2s.SupportConcept.Customer.Team2CustomerList.Any(t => t.Team.Name.ToLower() == "ass" || t.Team.Name.ToLower() == "reh"))
ass = true;
}
}