Subversion Repositories SmartDukaan

Rev

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

Rev 23786 Rev 23796
Line 58... Line 58...
58
		} catch (ProfitMandiBusinessException e) {
58
		} catch (ProfitMandiBusinessException e) {
59
			LOGGER.error("FofoStore Code not found of fofoId {}", loginDetails.getFofoId());
59
			LOGGER.error("FofoStore Code not found of fofoId {}", loginDetails.getFofoId());
60
		}
60
		}
61
		model.addAttribute("fofoStoreCode", fofoStore != null ? fofoStore.getCode() : null);
61
		model.addAttribute("fofoStoreCode", fofoStore != null ? fofoStore.getCode() : null);
62
		model.addAttribute("appContextPath", request.getContextPath());
62
		model.addAttribute("appContextPath", request.getContextPath());
63
		model.addAttribute("fofoAdmin", roleManager.isAdmin(loginDetails.getRoleIds()));
63
		model.addAttribute("isAdmin", roleManager.isAdmin(loginDetails.getRoleIds()));
64
		model.addAttribute("webApiHost", webApiHost);
64
		model.addAttribute("webApiHost", webApiHost);
65
		model.addAttribute("webApiPort", webApiPort);
65
		model.addAttribute("webApiPort", webApiPort);
66
		//LOGGER.info("loginDetails.getFofoId()"+loginDetails.getFofoId());
66
		//LOGGER.info("loginDetails.getFofoId()"+loginDetails.getFofoId());
67
		//inventoryService.prebookingAvailabilitySendMessage(loginDetails.getFofoId());
67
		//inventoryService.prebookingAvailabilitySendMessage(loginDetails.getFofoId());
68
		return "dashboard";
68
		return "dashboard";