Subversion Repositories SmartDukaan

Rev

Rev 25936 | Rev 25982 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25936 Rev 25941
Line 1976... Line 1976...
1976
		for (Lead lead : leadsToNotify) {
1976
		for (Lead lead : leadsToNotify) {
1977
			if (authUserKeyMap.get(lead.getAuthId()) == null) {
1977
			if (authUserKeyMap.get(lead.getAuthId()) == null) {
1978
				continue;
1978
				continue;
1979
			}
1979
			}
1980
			String notificationMessage = String.format(templateMessage, lead.getFirstName(), lead.getLastName(),
1980
			String notificationMessage = String.format(templateMessage, lead.getFirstName(), lead.getLastName(),
1981
					lead.getAddress(), String.format(templateMessage,
-
 
1982
							timeFormatter.format(lead.getLeadActivity().getSchelduleTimestamp())));
1981
					lead.getAddress(), timeFormatter.format(lead.getLeadActivity().getSchelduleTimestamp()));
1983
			SendNotificationModel sendNotificationModel = new SendNotificationModel();
1982
			SendNotificationModel sendNotificationModel = new SendNotificationModel();
1984
			sendNotificationModel.setCampaignName("Lead Reminder");
1983
			sendNotificationModel.setCampaignName("Lead Reminder");
1985
			sendNotificationModel.setTitle("Leads followup Reminder");
1984
			sendNotificationModel.setTitle("Leads followup Reminder");
1986
			sendNotificationModel.setMessage(notificationMessage);
1985
			sendNotificationModel.setMessage(notificationMessage);
1987
			sendNotificationModel.setType("url");
1986
			sendNotificationModel.setType("url");