MH: VARO AZ-Erfassung

This commit is contained in:
2023-09-04 15:20:40 +02:00
parent 191cb109ec
commit c0bc2eafdb
2 changed files with 26 additions and 0 deletions

View File

@@ -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" };
}
}
}

View File

@@ -111,6 +111,7 @@
<Compile Include="Teamstundenkonto.designer.cs">
<DependentUpon>Teamstundenkonto.cs</DependentUpon>
</Compile>
<Compile Include="Validation\ServiceRecordValidator.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Data\Data.csproj">