| Line 1168... |
Line 1168... |
| 1168 |
creditAccount.setGateway(gateway);
|
1168 |
creditAccount.setGateway(gateway);
|
| 1169 |
}
|
1169 |
}
|
| 1170 |
|
1170 |
|
| 1171 |
Map<Integer, CustomRetailer> customRetailers = retailerService.getAllFofoRetailers();
|
1171 |
Map<Integer, CustomRetailer> customRetailers = retailerService.getAllFofoRetailers();
|
| 1172 |
|
1172 |
|
| 1173 |
String title = "Loan Approved";
|
1173 |
String title = "Credit Limit Approved";
|
| 1174 |
String url = "http://app.smartdukaan.com/pages/home/credit";
|
1174 |
String url = "http://app.smartdukaan.com/pages/home/credit";
|
| 1175 |
String message = "Congratulations! Your Credit Limit is approved for Rs." + FormattingUtils.formatDecimal(creditAccount.getSanctionedAmount());
|
1175 |
String message = "Congratulations! Your Credit Limit is approved for Rs." + FormattingUtils.formatDecimal(creditAccount.getSanctionedAmount());
|
| 1176 |
notificationService.sendNotification(creditAccount.getFofoId(), "Loan", MessageType.notification, title, message, url);
|
1176 |
notificationService.sendNotification(creditAccount.getFofoId(), "Loan", MessageType.notification, title, message, url);
|
| 1177 |
|
1177 |
|
| 1178 |
model.addAttribute("creditAccount", creditAccount);
|
1178 |
model.addAttribute("creditAccount", creditAccount);
|