diff --git a/ReportImp/LebenshilfeCoburg/CustomMitarbeiterstundenkontoBerechnung.cs b/ReportImp/LebenshilfeCoburg/CustomMitarbeiterstundenkontoBerechnung.cs index 031d8363f..39be58f7d 100644 --- a/ReportImp/LebenshilfeCoburg/CustomMitarbeiterstundenkontoBerechnung.cs +++ b/ReportImp/LebenshilfeCoburg/CustomMitarbeiterstundenkontoBerechnung.cs @@ -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; } diff --git a/ReportImp/LebenshilfeCoburg/CustomVacationService.cs b/ReportImp/LebenshilfeCoburg/CustomVacationService.cs new file mode 100644 index 000000000..ad2ac1f39 --- /dev/null +++ b/ReportImp/LebenshilfeCoburg/CustomVacationService.cs @@ -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"; } + } +} \ No newline at end of file diff --git a/ReportImp/LebenshilfeCoburg/LebenshilfeCoburg.csproj b/ReportImp/LebenshilfeCoburg/LebenshilfeCoburg.csproj index 53deb5fea..b02e37ba8 100644 --- a/ReportImp/LebenshilfeCoburg/LebenshilfeCoburg.csproj +++ b/ReportImp/LebenshilfeCoburg/LebenshilfeCoburg.csproj @@ -86,6 +86,7 @@ AusbildungsassistenzRechnung.cs + Component