| Line 468... |
Line 468... |
| 468 |
|
468 |
|
| 469 |
Address address = addressRepository.selectById(user.getAddressId());
|
469 |
Address address = addressRepository.selectById(user.getAddressId());
|
| 470 |
//TODO-Whatsapp
|
470 |
//TODO-Whatsapp
|
| 471 |
//notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
471 |
//notificationService.sendWhatsappMessage(message, title, address.getPhoneNumber());
|
| 472 |
|
472 |
|
| 473 |
String empMessage = "Congratulations! Your Partner " + customRetailer.getBusinessName() + " credit limit is increased for today Rs." + sanctionRequest.getApprovalAmount().setScale(2, RoundingMode.HALF_UP) + " and total available limit is Rs." + availableAmount.setScale(2, RoundingMode.HALF_UP) + ".";
|
473 |
String empMessage = "Congratulations! Your Partner " + customRetailer.getBusinessName() + " credit limit is increased for today by Rs." + sanctionRequest.getApprovalAmount().setScale(2, RoundingMode.HALF_UP) + " and now the new total available limit is Rs." + availableAmount.setScale(2, RoundingMode.HALF_UP) + ".";
|
| 474 |
SendNotificationModel sendNotificationModel = new SendNotificationModel();
|
474 |
SendNotificationModel sendNotificationModel = new SendNotificationModel();
|
| 475 |
sendNotificationModel.setCampaignName("Sanction Request");
|
475 |
sendNotificationModel.setCampaignName("Sanction Request");
|
| 476 |
sendNotificationModel.setTitle("title");
|
476 |
sendNotificationModel.setTitle("title");
|
| 477 |
sendNotificationModel.setMessage(empMessage);
|
477 |
sendNotificationModel.setMessage(empMessage);
|
| 478 |
sendNotificationModel.setType("url");
|
478 |
sendNotificationModel.setType("url");
|