Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
PFM-5564
Browse files Browse the repository at this point in the history
  • Loading branch information
Saloni-eGov committed Feb 14, 2024
1 parent 5cd2bf7 commit 19f0691
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private List<Demand> createDemand(RequestInfo requestInfo, List<Calculation> cal
}
BigDecimal totalAmount=fetchTotalBillAmount(demands,requestInfo);
//log.info("Total Amount from fetch Bill"+String.valueOf(totalAmount));
if(totalAmount.signum()> 0 && totalAmount!=null)
if(totalAmount!=null && totalAmount.signum()> 0)
sendDownloadBillSMSNotification(requestInfo,tenantId,owner,waterConnectionRequest,property,demandDetails,consumerCode,demands,isForConnectionNO,businessService,billCycle,billNumbers,paymentDueDate,totalAmount);
}
}
Expand Down Expand Up @@ -373,7 +373,7 @@ private void sendDownloadBillSMSNotification(RequestInfo requestInfo, String ten
log.info("Demand Object get bill" + demands.toString());
log.info("requestInfo get Bill" + requestInfo);
log.info("bill number get bill size :" + billNumbers.size());
if (billNumbers.size() > 0 && totalamount.signum()>0 && totalamount!=null) {
if (totalamount!=null && billNumbers.size() > 0 && totalamount.signum()>0) {
actionLink = actionLink.replace("$billNumber", billNumbers.get(0));
messageString = messageString.replace("{ownername}", owner.getName());
messageString = messageString.replace("{Period}", billCycle);
Expand Down

0 comments on commit 19f0691

Please sign in to comment.