Done ticket GEPAFINBE-227
This commit is contained in:
@@ -174,7 +174,11 @@ public class NotificationDao {
|
||||
|
||||
Map<String, String> placeHolders = new HashMap<>();
|
||||
placeHolders.put("{{call_name}}", application.getCall().getName());
|
||||
placeHolders.put("{{protocol_number}}", String.valueOf(application.getProtocol().getProtocolNumber()));
|
||||
String protocolNumber=application.getProtocol().getExternalProtocolNumber();
|
||||
if(protocolNumber==null){
|
||||
protocolNumber= String.valueOf(application.getProtocol().getProtocolNumber());
|
||||
}
|
||||
placeHolders.put("{{protocol_number}}", protocolNumber);
|
||||
NotificationReq notificationReq = createNotificationReq(notificationTypeEnum.getValue(), placeHolders, application.getUserId(), application.getUserWithCompany(),
|
||||
listOf(application.getCompanyId()));
|
||||
sendNotification(notificationReq);
|
||||
|
||||
Reference in New Issue
Block a user