Subversion Repositories SmartDukaan

Rev

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

Rev 24697 Rev 24707
Line 700... Line 700...
700
 
700
 
701
	public void sendAgeingReport(String... sendTo) throws Exception {
701
	public void sendAgeingReport(String... sendTo) throws Exception {
702
 
702
 
703
		InputStreamSource isr = reporticoService.getReportInputStreamSource(ReporticoProject.WAREHOUSENEW,
703
		InputStreamSource isr = reporticoService.getReportInputStreamSource(ReporticoProject.WAREHOUSENEW,
704
				"itemstockageing.xml");
704
				"itemstockageing.xml");
-
 
705
		InputStreamSource isr1 = reporticoService.getReportInputStreamSource(ReporticoProject.WAREHOUSENEW,
-
 
706
				"ItemwiseOverallPendingIndent");
705
		Attachment attachment = new Attachment(
707
		Attachment attachment = new Attachment(
706
				"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1)) + ".csv", isr);
708
				"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1)) + ".csv", isr);
-
 
709
		Attachment attachment1 = new Attachment(
-
 
710
				"aeging-report-" + FormattingUtils.formatDate(LocalDateTime.now().minusDays(1)) + ".csv", isr1);
707
		Utils.sendMailWithAttachments(googleMailSender, sendTo, null, "Stock Aeging Report", "PFA", attachment);
711
		Utils.sendMailWithAttachments(googleMailSender, sendTo, null, "Stock Aeging Report", "PFA", attachment, attachment1);
708
	}
712
	}
709
 
713
 
710
	public void sendAgeingReport() throws Exception {
714
	public void sendAgeingReport() throws Exception {
711
		sendAgeingReport("amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
715
		sendAgeingReport("amod.sen@smartdukaan.com", "adeel.yazdani@smartdukaan.com", "kamini.sharma@smartdukaan.com",
712
				"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com");
716
				"tarun.verma@smartdukaan.com", "chaitnaya.vats@smartdukaan.com", "mohinder.mutreja@smartdukaan.com");
Line 1395... Line 1399...
1395
 
1399
 
1396
		sb.append("</tbody></table></body></html>");
1400
		sb.append("</tbody></table></body></html>");
1397
		return sb.toString();
1401
		return sb.toString();
1398
	}
1402
	}
1399
}
1403
}
1400
 
-
 
1401
/*
-
 
1402
 * public void processSchemeForModel(String string) { pricingService
-
 
1403
 * 
-
 
1404
 * }
-
 
1405
 */
-