Subversion Repositories SmartDukaan

Rev

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

Rev 30574 Rev 30591
Line 247... Line 247...
247
			"niranjan.kala@smartdukaan.com"};
247
			"niranjan.kala@smartdukaan.com"};
248
 
248
 
249
	private static final String[] INDENT_TERTIARY_MAIL_LIST = new String[]{"uday.singh@smartdukaan.com",
249
	private static final String[] INDENT_TERTIARY_MAIL_LIST = new String[]{"uday.singh@smartdukaan.com",
250
			"kuldeep.kumar@smartdukaan.com"};
250
			"kuldeep.kumar@smartdukaan.com"};
251
 
251
 
252
	private static final String[] EMPLOYEE_ATTENDANCE_MAIL_LIST = new String[]{"jyoti.rawat@smartdukaan.com",
252
	private static final String[] EMPLOYEE_ATTENDANCE_MAIL_LIST = new String[]{"sm@smartdukaan.com",
253
			"sm@smartdukaan.com"};
253
			"sm@smartdukaan.com"};
254
 
254
 
255
	private List<OrderStatus> orderStatusList = Arrays.asList(OrderStatus.SUBMITTED_FOR_PROCESSING);
255
	private List<OrderStatus> orderStatusList = Arrays.asList(OrderStatus.SUBMITTED_FOR_PROCESSING);
256
 
256
 
257
	@Autowired
257
	@Autowired
Line 1193... Line 1193...
1193
								: "(Punched at "
1193
								: "(Punched at "
1194
								+ FormattingUtils.format(employeeAttendanceOptional.get().getCreateTimestamp())
1194
								+ FormattingUtils.format(employeeAttendanceOptional.get().getCreateTimestamp())
1195
								+ ")");
1195
								+ ")");
1196
 
1196
 
1197
				Utils.sendMailWithAttachments(googleMailSender, new String[]{authUser.getEmailId()},
1197
				Utils.sendMailWithAttachments(googleMailSender, new String[]{authUser.getEmailId()},
1198
						new String[]{"jyoti.rawat@smartdukaan.com"}, "Attendance Alert", body);
1198
						new String[]{"sm@smartdukaan.com"}, "Attendance Alert", body);
1199
 
1199
 
1200
			}
1200
			}
1201
		}
1201
		}
1202
 
1202
 
1203
	}
1203
	}
Line 1244... Line 1244...
1244
				}
1244
				}
1245
 
1245
 
1246
			}
1246
			}
1247
			if (body != null) {
1247
			if (body != null) {
1248
				Utils.sendMailWithAttachments(googleMailSender, new String[]{authUser.getEmailId()},
1248
				Utils.sendMailWithAttachments(googleMailSender, new String[]{authUser.getEmailId()},
1249
						new String[]{"jyoti.rawat@smartdukaan.com"}, "Attendance Alert", body);
1249
						new String[]{"sm@smartdukaan.com"}, "Attendance Alert", body);
1250
			}
1250
			}
1251
		}
1251
		}
1252
 
1252
 
1253
		this.sendMailToHR();
1253
		this.sendMailToHR();
1254
 
1254