Subversion Repositories SmartDukaan

Rev

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

Rev 24582 Rev 24597
Line 87... Line 87...
87
			@RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString,
87
			@RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString,
88
			@RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString,
88
			@RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString,
89
			@RequestParam(name = "offset", defaultValue = "0") int offset,
89
			@RequestParam(name = "offset", defaultValue = "0") int offset,
90
			@RequestParam(name = "limit", defaultValue = "10") int limit, Model model)
90
			@RequestParam(name = "limit", defaultValue = "10") int limit, Model model)
91
			throws ProfitMandiBusinessException {
91
			throws ProfitMandiBusinessException {
92
		boolean underMaintainance = true;
92
		/*boolean underMaintainance = true;
93
		if(underMaintainance) {
93
		if(underMaintainance) {
94
			throw new ProfitMandiBusinessException("Wallet", "Wallet", "Wallet is under Maintenance");
94
			throw new ProfitMandiBusinessException("Wallet", "Wallet", "Wallet is under Maintenance");
95
		}
95
		}*/
96
		LoginDetails fofoDetails = cookiesProcessor.getCookiesObject(request);
96
		LoginDetails fofoDetails = cookiesProcessor.getCookiesObject(request);
97
		boolean isAdmin = roleManager.isAdmin(fofoDetails.getRoleIds());
97
		boolean isAdmin = roleManager.isAdmin(fofoDetails.getRoleIds());
98
		UserWallet userWallet = null;
98
		UserWallet userWallet = null;
99
		try {
99
		try {
100
			userWallet = userWalletRepository.selectByRetailerId(fofoDetails.getFofoId());
100
			userWallet = userWalletRepository.selectByRetailerId(fofoDetails.getFofoId());