AsSozialeDienstleistungenEV/Taetigkeitsnachweis - Erkennung der Leistungskategorie verfeinert
SupportOID=161029
This commit is contained in:
@@ -2,6 +2,7 @@ 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;
|
||||
@@ -33,11 +34,11 @@ namespace AsSozialeDienstleistungenEV
|
||||
decimal minutes = 0;
|
||||
decimal betrag = 0;
|
||||
decimal stundensatz = 0;
|
||||
|
||||
if (pRO.Services != null && pRO.Services.Count > 0)
|
||||
{
|
||||
List<ServicesOverviewRO.ServiceDetail> servicesBillable = new List<ServicesOverviewRO.ServiceDetail>();
|
||||
stundensatz = GetStundensatz(pRO.Services[0], pRO.StartDate);
|
||||
var mainRecord = pRO.Services.GroupBy(e => e.ServiceCategory).OrderByDescending(g => g.Count()).First().First();
|
||||
stundensatz = GetStundensatz(mainRecord, pRO.StartDate);
|
||||
|
||||
foreach (var sd in pRO.Services)
|
||||
{
|
||||
@@ -103,5 +104,6 @@ namespace AsSozialeDienstleistungenEV
|
||||
|
||||
// return 0;
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user