Subversion Repositories SmartDukaan

Rev

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

Rev 22927 Rev 23505
Line 83... Line 83...
83
		}
83
		}
84
		return "wallet-details";
84
		return "wallet-details";
85
	}
85
	}
86
	
86
	
87
	@RequestMapping(value = "/getPaginatedWalletHistory")
87
	@RequestMapping(value = "/getPaginatedWalletHistory")
88
	public String getSaleHistoryPaginated(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString, @RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString, @RequestParam(name = "offset", defaultValue = "0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit, @RequestParam(name = ProfitMandiConstants.INVOICE_NUMBER, defaultValue="") String invoiceNumber, @RequestParam(name = "searchType", defaultValue = "") String searchType, Model model) throws ProfitMandiBusinessException{
88
	public String getSaleHistoryPaginated(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.START_TIME, required = false) String startTimeString, @RequestParam(name = ProfitMandiConstants.END_TIME, required = false) String endTimeString, @RequestParam(name = "offset", defaultValue = "0") int offset, @RequestParam(name = "limit", defaultValue="10") int limit, Model model) throws ProfitMandiBusinessException{
89
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
89
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
90
		
90
		
91
		LocalDateTime startDateTime = StringUtils.toDateTime(startTimeString);
91
		LocalDateTime startDateTime = StringUtils.toDateTime(startTimeString);
92
		LocalDateTime endDateTime = StringUtils.toDateTime(endTimeString);
92
		LocalDateTime endDateTime = StringUtils.toDateTime(endTimeString);
93
 
93