From d309780f0f29ea6e26dbf8bd874a4b100394860f Mon Sep 17 00:00:00 2001 From: Pallvi Grover Date: Tue, 20 Feb 2024 16:07:29 -0800 Subject: [PATCH] EHT fix --- .../Services/Processes/Fundings/FundingCalculator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OFM.Infrastructure.WebAPI/Services/Processes/Fundings/FundingCalculator.cs b/OFM.Infrastructure.WebAPI/Services/Processes/Fundings/FundingCalculator.cs index 60c87396..8817703d 100644 --- a/OFM.Infrastructure.WebAPI/Services/Processes/Fundings/FundingCalculator.cs +++ b/OFM.Infrastructure.WebAPI/Services/Processes/Fundings/FundingCalculator.cs @@ -125,7 +125,7 @@ private decimal EmployerHealthTax _ => 0m }; - return ehtRate * TotalHRRenumeration; + return (ehtRate/100) * TotalHRRenumeration; } } @@ -203,7 +203,7 @@ public async Task Calculate() GrandTotal_PF = TotalParentFees, //Calculation Date - NewCalculationDate = DateTime.UtcNow + //NewCalculationDate = DateTime.UtcNow }; _fundingResult = FundingResult.AutoCalculated(_funding.ofm_funding_number, fundingAmounts, null);