diff --git a/ReportImp/SKMAachen/SKMAachen.csproj b/ReportImp/SKMAachen/SKMAachen.csproj index 3aa1b7027..3ea7769f5 100644 --- a/ReportImp/SKMAachen/SKMAachen.csproj +++ b/ReportImp/SKMAachen/SKMAachen.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - {95342759-C161-4A44-8130-9740E57FE3A1} + {C1FED668-ADB9-47E0-B589-1389618E1B6E} Library Properties SKMAachen @@ -75,6 +75,7 @@ Teamstundenkonto.cs + diff --git a/ReportImp/SKMAachen/Validation/ServiceRecordValidator.cs b/ReportImp/SKMAachen/Validation/ServiceRecordValidator.cs new file mode 100644 index 000000000..a06f7a21e --- /dev/null +++ b/ReportImp/SKMAachen/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 SKMAachen.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