FeidPartnerReports/CustomSupportConceptAnalysisCreator und CustomServiceRecordStatisticFactory - Fehler bei Buchhungen Anfang der Woche
SupportOID=163175
This commit is contained in:
@@ -130,7 +130,7 @@ namespace FeidPartnerReports
|
||||
bool vorhandeneEintraege = false;
|
||||
if (serviceRecords != null && serviceRecords.Count > 0)
|
||||
{
|
||||
vorhandeneEintraege = serviceRecords.Any(s => s.Start.Value.Date >= start.Date && s.Start.Value.Date <= end.Date && s.RoundedDuration > 0 && s.ServiceDescription.Category.IsBillable);
|
||||
vorhandeneEintraege = serviceRecords.Any(s => s.Start.Value.Date >= start.Date && s.Start.Value.Date < end.Date && s.RoundedDuration > 0 && s.ServiceDescription.Category.IsBillable);
|
||||
}
|
||||
return vorhandeneEintraege;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Access;
|
||||
@@ -21,7 +21,7 @@ namespace FeidPartnerReports.Statistics
|
||||
|
||||
try
|
||||
{
|
||||
// Fahrtzeiten nicht in Ministatistik nur für Abrechnung
|
||||
// Fahrtzeiten nicht in Ministatistik nur für Abrechnung
|
||||
stat.PeriodStatistics = stat.PeriodStatistics.Where(p => p.SupportConceptApprovalPeriod.ServiceCategory == null || String.IsNullOrEmpty(p.SupportConceptApprovalPeriod.ServiceCategory.Abbreviation) ||
|
||||
!p.SupportConceptApprovalPeriod.ServiceCategory.Abbreviation.Contains("FZQA")).ToList();
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace FeidPartnerReports.Statistics
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
//Mach nichts. Das ist für den alten Mok bei dem die Felder MinutesFreePerWeekStatisticDate noch nicht in der alten Shared.dll existieren
|
||||
//Mach nichts. Das ist für den alten Mok bei dem die Felder MinutesFreePerWeekStatisticDate noch nicht in der alten Shared.dll existieren
|
||||
}
|
||||
|
||||
}
|
||||
@@ -156,7 +156,7 @@ namespace FeidPartnerReports.Statistics
|
||||
bool vorhandeneEintraege = false;
|
||||
if (serviceRecords != null && serviceRecords.Count > 0)
|
||||
{
|
||||
vorhandeneEintraege = serviceRecords.Any(s => s.Start.Value.Date >= start.Date && s.Start.Value.Date <= end.Date && s.RoundedDuration > 0 && s.ServiceDescription.Category.IsBillable);
|
||||
vorhandeneEintraege = serviceRecords.Any(s => s.Start.Value.Date >= start.Date && s.Start.Value.Date < end.Date && s.RoundedDuration > 0 && s.ServiceDescription.Category.IsBillable);
|
||||
}
|
||||
return vorhandeneEintraege;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user