From 1735e45643c48a283f9832115b0bf862b81525ac Mon Sep 17 00:00:00 2001 From: Kojo Date: Mon, 22 Dec 2025 12:03:57 +0100 Subject: [PATCH 1/2] Humanitas: Silvester auch im Miterbeiterstundenkonto (ab 2025) nicht als Feiertag behandeln --- .../Humanitas/CustomMitarbeiterstundenkontoBerechnung.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ReportImp/Humanitas/CustomMitarbeiterstundenkontoBerechnung.cs b/ReportImp/Humanitas/CustomMitarbeiterstundenkontoBerechnung.cs index fa13c44cb..33ec8ef76 100644 --- a/ReportImp/Humanitas/CustomMitarbeiterstundenkontoBerechnung.cs +++ b/ReportImp/Humanitas/CustomMitarbeiterstundenkontoBerechnung.cs @@ -28,7 +28,10 @@ namespace Humanitas { var list = base.GetFeiertage(year); - list.Add(new DateTime(year, 12, 31)); + if (year <= 2024) + { + list.Add(new DateTime(year, 12, 31)); + } var osterSonntag = GetOsterSonntag(year); list.Add(osterSonntag.AddDays(-48)); // "Rosenmontag" From 1613746830774d7447d64390d0e72b5f8795cca0 Mon Sep 17 00:00:00 2001 From: Kojo Date: Mon, 22 Dec 2025 12:05:45 +0100 Subject: [PATCH 2/2] Humanitas: AbschlagszahlungImport entfernt (ImportLvrAvise ist Default in Superklasse) --- ReportImp/Humanitas/Humanitas.csproj | 5 +++-- .../Import/AbschlagszahlungImport.cs | 21 ------------------- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 ReportImp/Humanitas/Import/AbschlagszahlungImport.cs diff --git a/ReportImp/Humanitas/Humanitas.csproj b/ReportImp/Humanitas/Humanitas.csproj index 7cfd19785..21da1839d 100644 --- a/ReportImp/Humanitas/Humanitas.csproj +++ b/ReportImp/Humanitas/Humanitas.csproj @@ -65,7 +65,6 @@ Finanzauswertung.cs - Component @@ -156,6 +155,8 @@ - + + + \ No newline at end of file diff --git a/ReportImp/Humanitas/Import/AbschlagszahlungImport.cs b/ReportImp/Humanitas/Import/AbschlagszahlungImport.cs deleted file mode 100644 index deaed1ca5..000000000 --- a/ReportImp/Humanitas/Import/AbschlagszahlungImport.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using BeWo.Data.Access; -using BeWo.Data.Entities; -using BeWo.Service.MessageContracts; -using BeWo.Service.Plugins; -using DevExpress.XtraPrinting.Native; - -namespace Humanitas.Import -{ - public class AbschlagszahlungImport : DataImporter - { - - public override UploadImportFileResult ImportData(string filename, byte[] daten) - { - return ImportLvrAvise(filename, daten); - } - } -}