| Line 3769... |
Line 3769... |
| 3769 |
String title = "Alert Credit Outstanding!";
|
3769 |
String title = "Alert Credit Outstanding!";
|
| 3770 |
String url = "http://app.smartdukaan.com/pages/home/credit";
|
3770 |
String url = "http://app.smartdukaan.com/pages/home/credit";
|
| 3771 |
String message = "Your total pending Loan amount is Rs." + FormattingUtils.formatDecimal(Math.abs(partnerLoanAmountEnrty.getValue())) + ".";
|
3771 |
String message = "Your total pending Loan amount is Rs." + FormattingUtils.formatDecimal(Math.abs(partnerLoanAmountEnrty.getValue())) + ".";
|
| 3772 |
notificationService.sendNotification(fofoId, title, MessageType.notification, title, message, url);
|
3772 |
notificationService.sendNotification(fofoId, title, MessageType.notification, title, message, url);
|
| 3773 |
|
3773 |
|
| 3774 |
notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
3774 |
//notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
| 3775 |
|
3775 |
|
| 3776 |
}
|
3776 |
}
|
| 3777 |
|
3777 |
|
| 3778 |
}
|
3778 |
}
|
| 3779 |
|
3779 |
|
| Line 4027... |
Line 4027... |
| 4027 |
String title = "Alert!";
|
4027 |
String title = "Alert!";
|
| 4028 |
String message = "Your loan due date " + loan.getDueDate().toLocalDate().format(DateTimeFormatter.ofPattern("dd-MM-yyyy")) + " has been exceeded. Additional penal interest of " + loan.getInterestRate().setScale(2, RoundingMode.HALF_UP) + "% shall be levied on daily basis. Your total pending loan amount is Rs." + FormattingUtils.formatDecimal(Math.abs(amount)) + ". !!Pay Now!!";
|
4028 |
String message = "Your loan due date " + loan.getDueDate().toLocalDate().format(DateTimeFormatter.ofPattern("dd-MM-yyyy")) + " has been exceeded. Additional penal interest of " + loan.getInterestRate().setScale(2, RoundingMode.HALF_UP) + "% shall be levied on daily basis. Your total pending loan amount is Rs." + FormattingUtils.formatDecimal(Math.abs(amount)) + ". !!Pay Now!!";
|
| 4029 |
|
4029 |
|
| 4030 |
notificationService.sendNotification(loan.getFofoId(), title, MessageType.notification, title, message, url);
|
4030 |
notificationService.sendNotification(loan.getFofoId(), title, MessageType.notification, title, message, url);
|
| 4031 |
|
4031 |
|
| 4032 |
notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
4032 |
//notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
| 4033 |
|
4033 |
|
| 4034 |
}
|
4034 |
}
|
| 4035 |
}
|
4035 |
}
|
| 4036 |
|
4036 |
|
| 4037 |
}
|
4037 |
}
|
| Line 4066... |
Line 4066... |
| 4066 |
|
4066 |
|
| 4067 |
message = "Your total pending Loan amount is Rs." + FormattingUtils.formatDecimal(Math.abs(amount)) + " is due by " + loan.getDueDate().toLocalDate().format(DateTimeFormatter.ofPattern("dd-MM-yyyy")) + " , Pay Now!!";
|
4067 |
message = "Your total pending Loan amount is Rs." + FormattingUtils.formatDecimal(Math.abs(amount)) + " is due by " + loan.getDueDate().toLocalDate().format(DateTimeFormatter.ofPattern("dd-MM-yyyy")) + " , Pay Now!!";
|
| 4068 |
|
4068 |
|
| 4069 |
}
|
4069 |
}
|
| 4070 |
notificationService.sendNotification(loan.getFofoId(), title, MessageType.notification, title, message, url);
|
4070 |
notificationService.sendNotification(loan.getFofoId(), title, MessageType.notification, title, message, url);
|
| 4071 |
notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
4071 |
//notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
| 4072 |
|
4072 |
|
| 4073 |
}
|
4073 |
}
|
| 4074 |
}
|
4074 |
}
|
| 4075 |
}
|
4075 |
}
|
| 4076 |
|
4076 |
|