MH: LebenshilfeStadeMID QB Hotfix

This commit is contained in:
2026-06-12 13:52:34 +02:00
parent 15ad4bdfcf
commit 76ddb16f8d

View File

@@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
@@ -12,7 +6,14 @@ using BeWo.Service.DCEntityMapper;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using DevExpress.XtraCharts.GLGraphics.Platform;
using DevExpress.XtraReports.UI;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace LebenshilfeStadeMID
{
@@ -73,7 +74,7 @@ namespace LebenshilfeStadeMID
// Verfügungszeit in eigentlichen ServiceRecord eintragen und aus Liste entfernen, dass der nicht mehrfach übertragen wird
var vz = verfuegungszeiten.FirstOrDefault(s => s.StartDate.Date == sd.StartDate.Date);
var vz = verfuegungszeiten.FirstOrDefault(s => s.StartDate.Date == sd.StartDate.Date && !s.ServiceDescription.ToLower().Contains("vorbereitungszeit fachlich egh"));
var zls = zusatzleistungen.Where(s => s.StartDate.Date == sd.StartDate.Date).ToList();
if (vz != null)
{