Subversion Repositories SmartDukaan

Rev

Rev 37248 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37248 Rev 37277
Line 1353... Line 1353...
1353
	}
1353
	}
1354
 
1354
 
1355
	@GetMapping(value = "/beatPlanWindow")
1355
	@GetMapping(value = "/beatPlanWindow")
1356
	public String beatPlanWindow(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
1356
	public String beatPlanWindow(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
1357
		model.addAttribute("escalationTypes", visibleLevelsFor(request));
1357
		model.addAttribute("escalationTypes", visibleLevelsFor(request));
-
 
1358
		AuthUser me = currentUser(request);
1358
		model.addAttribute("canScheduleToday", canScheduleToday(currentUser(request)));
1359
		model.addAttribute("canScheduleToday", canScheduleToday(me));
-
 
1360
		if (me != null) {
-
 
1361
			model.addAttribute("selfAuthUserId", me.getId());
-
 
1362
			model.addAttribute("selfName", me.getFullName());
-
 
1363
		}
1359
		return "beat-plan-window";
1364
		return "beat-plan-window";
1360
	}
1365
	}
1361
 
1366
 
1362
	// Helpers for XLSX bulk upload
1367
	// Helpers for XLSX bulk upload
1363
	private static String readCell(org.apache.poi.ss.usermodel.Cell cell) {
1368
	private static String readCell(org.apache.poi.ss.usermodel.Cell cell) {