diff --git a/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java b/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java index 70c80ee3e..e292bbe14 100644 --- a/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java +++ b/business-services/billing-service/src/main/java/org/egov/demand/service/DemandService.java @@ -540,7 +540,7 @@ public DemandHistory getDemandHistory(@Valid DemandCriteria demandCriteria, Requ } } } - if(demList.size() == 1) { + if(demandList.size() == 1) { waterCharge = demList.get(demList.size() - 1).getDemandDetails().get(0).getTaxAmount(). subtract(demList.get(demList.size() - 1).getDemandDetails().get(0).getCollectionAmount()); }