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 Mar 7, 2024
1 parent 3ca6518 commit f046b45
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@ private void sendDownloadBillSMSNotification(RequestInfo requestInfo, String ten
messageString = messageString.replace("{ownername}", owner.getName());
messageString = messageString.replace("{Period}", billCycle);
messageString = messageString.replace("{consumerno}", consumerCode);
// messageString = messageString.replace("{billamount}", totalamount.toString());
BigDecimal demandAmount= demandDetails.stream()
.map(DemandDetail::getTaxAmount).reduce(BigDecimal.ZERO, BigDecimal::add);
BigDecimal arrears=totalamount.subtract(demandAmount);
Expand All @@ -392,7 +391,7 @@ private void sendDownloadBillSMSNotification(RequestInfo requestInfo, String ten
}
messageString = messageString.replace("{BILL_LINK}", getShortenedUrl(actionLink));

System.out.println("Demand genaration Message get bill::" + messageString);
// System.out.println("Demand genaration Message get bill::" + messageString);

SMSRequest sms = SMSRequest.builder().mobileNumber(owner.getMobileNumber()).message(messageString).tenantid(tenantId)
.category(Category.TRANSACTION).build();
Expand Down

0 comments on commit f046b45

Please sign in to comment.