diff --git a/ReportImp/AachenerLaienhelfer/Service/CustomGroupDurationCalculator.cs b/ReportImp/AachenerLaienhelfer/Service/CustomGroupDurationCalculator.cs new file mode 100644 index 000000000..c41eb18eb --- /dev/null +++ b/ReportImp/AachenerLaienhelfer/Service/CustomGroupDurationCalculator.cs @@ -0,0 +1,23 @@ +using BeWo.Service.Plugins; +using BS.Shared.DataContracts; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AachenerLaienhelfer.Service +{ + public class CustomGroupDurationCalculator : GroupDurationCalculator + { + public override GroupDurationDC CalculateGroupDuration(int personCount, int employeeCount, decimal totalDuration, + long[] costBearer2SupportConceptArray) + { + var gd = new GroupDurationDC(); + gd.SingleDuration = totalDuration / personCount; + gd.TotalDuration = totalDuration; + + return gd; + } + } +}