diff --git a/ReportImp/VaroSozialagentur/Validation/ServiceRecordValidator.cs b/ReportImp/VaroSozialagentur/Validation/ServiceRecordValidator.cs new file mode 100644 index 000000000..486a3fb7e --- /dev/null +++ b/ReportImp/VaroSozialagentur/Validation/ServiceRecordValidator.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.Plugins; +using BS.Shared; +using BS.Shared.DataContracts; + +namespace VaroSozialagentur.Validation +{ + public class CustomServiceRecordValidator : ServiceRecordValidator + { + public override string[] GetIgnoreCategoriesForOverlappingCheck() + { + return new[] { "Arbeitszeit" }; + } + + public override String[] GetIgnoreServiceDescriptionsForOverlappingCheck() + { + return new[] { "Arbeitszeit" }; + } + } + + +} \ No newline at end of file diff --git a/ReportImp/VaroSozialagentur/VaroSozialagentur.csproj b/ReportImp/VaroSozialagentur/VaroSozialagentur.csproj index 513c258ed..34666ffed 100644 --- a/ReportImp/VaroSozialagentur/VaroSozialagentur.csproj +++ b/ReportImp/VaroSozialagentur/VaroSozialagentur.csproj @@ -111,6 +111,7 @@ Teamstundenkonto.cs +