Subversion Repositories SmartDukaan

Rev

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

Rev 25069 Rev 25093
Line 541... Line 541...
541
		float openingBalance = walletService.getOpeningTill(fofoId, startDate);
541
		float openingBalance = walletService.getOpeningTill(fofoId, startDate);
542
		float closingBalance = walletService.getOpeningTill(fofoId, endDate);
542
		float closingBalance = walletService.getOpeningTill(fofoId, endDate);
543
		List<UserWalletHistory> uwhList = walletService.getPaginatedUserWalletHistoryByRetailerId(fofoId, startDate,
543
		List<UserWalletHistory> uwhList = walletService.getPaginatedUserWalletHistoryByRetailerId(fofoId, startDate,
544
				endDate, 0, 0);
544
				endDate, 0, 0);
545
		Collections.reverse(uwhList);
545
		Collections.reverse(uwhList);
546
		/*
-
 
547
		 * HttpHeaders headers = new HttpHeaders(); InputStreamResource is = new
-
 
548
		 * InputStreamResource(); headers.set("Content-Type",
-
 
549
		 * "application/vnd.ms-excel"); headers.set("Content-disposition",
-
 
550
		 * "inline; filename=report-" + fileName + ".csv");
-
 
551
		 * headers.setContentLength(response.getEntity().getContentLength());
-
 
552
		 */
-
 
553
		model.addAttribute("opening", openingBalance);
546
		model.addAttribute("opening", openingBalance);
554
		model.addAttribute("closing", closingBalance);
547
		model.addAttribute("closing", closingBalance);
555
		model.addAttribute("history", uwhList);
548
		model.addAttribute("history", uwhList);
556
		model.addAttribute("startDate", startDate);
549
		model.addAttribute("startDate", startDate);
557
		model.addAttribute("endDate", endDate);
550
		model.addAttribute("endDate", endDate);