MH: LH Coburg Bayern BL und Stundenkonto

This commit is contained in:
2023-08-02 15:57:09 +02:00
parent 1dab6a9071
commit bafaeeb24f
3 changed files with 14 additions and 1 deletions

View File

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

View File

@@ -0,0 +1,12 @@
using BeWo.Service.Plugins;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace LebenshilfeCoburg
{
public class CustomVacationService : VacationService
{
public override string Bundesland { get => "Bayern"; }
}
}

View File

@@ -86,6 +86,7 @@
<DependentUpon>AusbildungsassistenzRechnung.cs</DependentUpon>
</Compile>
<Compile Include="Invoicing\LhCoburgWohnheimInvoiceCreation.cs" />
<Compile Include="CustomVacationService.cs" />
<Compile Include="LHCoburgReportCreator.cs" />
<Compile Include="Mitarbeiterarbeitszeitkonto.cs">
<SubType>Component</SubType>