Skip to content

Commit

Permalink
Added chnages for penalty
Browse files Browse the repository at this point in the history
  • Loading branch information
debasishchakraborty-egovt committed Jun 14, 2024
1 parent ab0557a commit e8c6b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ public AggregatedDemandDetailResponse getAllDemands(DemandCriteria demandCriteri
Integer rate = (Integer) paymentMasterData.get("rate");
String penaltyType = String.valueOf(paymentMasterData.get("type"));
totalApplicablePenalty = currentmonthBill.multiply(new BigDecimal(rate).divide(new BigDecimal(100)));
totalApplicablePenalty = totalApplicablePenalty.setScale(0, RoundingMode.CEILING);
totalApplicablePenalty = totalApplicablePenalty.setScale(0, RoundingMode.HALF_UP);
} else {
log.info("MDMS data is Null Penalty not connfigured");
}
Expand Down

0 comments on commit e8c6b0f

Please sign in to comment.