Subversion Repositories SmartDukaan

Rev

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

Rev 25880 Rev 25884
Line 1339... Line 1339...
1339
		Map<Integer, List<Serializable>> partnerSalesHeadersMap = this.getPartnerIdSalesHeaders();
1339
		Map<Integer, List<Serializable>> partnerSalesHeadersMap = this.getPartnerIdSalesHeaders();
1340
		for (Integer fofoId : fofoIds) {
1340
		for (Integer fofoId : fofoIds) {
1341
			SaleTargetReportModel model = saleTargetReportModelMap.get(fofoId);
1341
			SaleTargetReportModel model = saleTargetReportModelMap.get(fofoId);
1342
			SendNotificationModel sendNotificationModel = new SendNotificationModel();
1342
			SendNotificationModel sendNotificationModel = new SendNotificationModel();
1343
			sendNotificationModel.setCampaignName("Sales update alert");
1343
			sendNotificationModel.setCampaignName("Sales update alert");
-
 
1344
			sendNotificationModel.setTitle("Sale Update");
1344
			sendNotificationModel.setMessage(String.format(
1345
			sendNotificationModel.setMessage(String.format(
1345
					"Smartphones Rs.%.0f, Insurance Rs.%.0f, Total Rs.%.0f till %s.", model.getSmartphoneSale(),
1346
					"Smartphones Rs.%.0f, Insurance Rs.%.0f, Total Rs.%.0f till %s.", model.getSmartphoneSale(),
1346
					model.getInsuranceSale(), model.getTotalSale(), now.format(timeFormatter)));
1347
					model.getInsuranceSale(), model.getTotalSale(), now.format(timeFormatter)));
1347
			sendNotificationModel.setType("url");
1348
			sendNotificationModel.setType("url");
1348
			sendNotificationModel.setUrl("http://app.profitmandi.com/pages/home/notifications");
1349
			sendNotificationModel.setUrl("http://app.profitmandi.com/pages/home/notifications");