Subversion Repositories SmartDukaan

Rev

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

Rev 26963 Rev 26988
Line 1485... Line 1485...
1485
 
1485
 
1486
		LocalDateTime now = LocalDateTime.now();
1486
		LocalDateTime now = LocalDateTime.now();
1487
		LocalDateTime from = now.with(LocalTime.MIN);
1487
		LocalDateTime from = now.with(LocalTime.MIN);
1488
		String timeString = "Today %s";
1488
		String timeString = "Today %s";
1489
		// Send yesterday's report
1489
		// Send yesterday's report
1490
		if (now.getHour() < 13) {
1490
/*		if (now.getHour() < 13) {
1491
			timeString = "Yesterday %s";
1491
			timeString = "Yesterday %s";
1492
			from = now.minusDays(1);
1492
			from = now.minusDays(1).;
1493
			now = from.with(LocalTime.MAX);
1493
			now = from.with(LocalTime.MAX);
1494
 
1494
 
1495
		}
1495
		}*/
1496
		List<Integer> fofoIds = null;
1496
		List<Integer> fofoIds = null;
1497
		if (fofoIdInt == null) {
1497
		if (fofoIdInt == null) {
1498
			fofoIds = fofoStoreRepository.selectAll().stream().filter(x -> x.isActive()).map(x -> x.getId())
1498
			fofoIds = fofoStoreRepository.selectAll().stream().filter(x -> x.isActive()).map(x -> x.getId())
1499
					.collect(Collectors.toList());
1499
					.collect(Collectors.toList());
1500
		} else {
1500
		} else {