diff --git a/ReportImp/LebenszentrumKönigsborn/Calculations/CustomGroupDurationCalculator.cs b/ReportImp/LebenszentrumKönigsborn/Calculations/CustomGroupDurationCalculator.cs new file mode 100644 index 000000000..118f90456 --- /dev/null +++ b/ReportImp/LebenszentrumKönigsborn/Calculations/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 LebenszentrumKoenigsborn.Calculations +{ + public class CustomGroupDurationCalculator : GroupDurationCalculator + { + public override GroupDurationDC CalculateGroupDuration(int personCount, int employeeCount, decimal totalDuration) + { + return new GroupDurationDC() + { + SingleDuration = totalDuration, + TotalDuration = totalDuration + }; + } + } +} diff --git a/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj b/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj index a40471ad2..9f429aefe 100644 --- a/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj +++ b/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj @@ -55,6 +55,7 @@ + Component