From f046b453128dbde433e9cf680a0956245bc0d317 Mon Sep 17 00:00:00 2001 From: Saloni-eGov Date: Thu, 7 Mar 2024 13:14:01 +0530 Subject: [PATCH] PFM-5564 --- .../java/org/egov/wscalculation/service/DemandService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java index 641d01f87..4016f83e0 100644 --- a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java +++ b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/service/DemandService.java @@ -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); @@ -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();