Subversion Repositories SmartDukaan

Rev

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

Rev 24523 Rev 24582
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;
-
 
93
		if(underMaintainance) {
-
 
94
			throw new ProfitMandiBusinessException("Wallet", "Wallet", "Wallet is under Maintenance");
-
 
95
		}
92
		LoginDetails fofoDetails = cookiesProcessor.getCookiesObject(request);
96
		LoginDetails fofoDetails = cookiesProcessor.getCookiesObject(request);
93
		boolean isAdmin = roleManager.isAdmin(fofoDetails.getRoleIds());
97
		boolean isAdmin = roleManager.isAdmin(fofoDetails.getRoleIds());
94
		UserWallet userWallet = null;
98
		UserWallet userWallet = null;
95
		try {
99
		try {
96
			userWallet = userWalletRepository.selectByRetailerId(fofoDetails.getFofoId());
100
			userWallet = userWalletRepository.selectByRetailerId(fofoDetails.getFofoId());