Subversion Repositories SmartDukaan

Rev

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

Rev 25607 Rev 25608
Line 569... Line 569...
569
			throws ProfitMandiBusinessException {
569
			throws ProfitMandiBusinessException {
570
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
570
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
571
 
571
 
572
		Map<String, Object> map = orderService.getSaleHistory(loginDetails.getFofoId(), searchType, searchValue,
572
		Map<String, Object> map = orderService.getSaleHistory(loginDetails.getFofoId(), searchType, searchValue,
573
				startTime, endTime, offset, limit);
573
				startTime, endTime, offset, limit);
574
 
-
 
575
		model.addAllAttributes(map);
574
		model.addAllAttributes(map);
576
 
-
 
577
		model.addAttribute("url", "/getPaginatedSaleHistory");
-
 
578
 
-
 
579
		return "sale-history";
575
		return "sale-history";
580
	}
576
	}
581
 
577
 
582
	@RequestMapping(value = "/downloadInvoices")
578
	@RequestMapping(value = "/downloadInvoices")
583
	public ResponseEntity<?> downloadInvoices(HttpServletRequest request,
579
	public ResponseEntity<?> downloadInvoices(HttpServletRequest request,
Line 646... Line 642...
646
			throws ProfitMandiBusinessException {
642
			throws ProfitMandiBusinessException {
647
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
643
		LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
648
		Map<String, Object> map = orderService.getSaleHistoryPaginated(loginDetails.getFofoId(), searchType,
644
		Map<String, Object> map = orderService.getSaleHistoryPaginated(loginDetails.getFofoId(), searchType,
649
				searchValue, startTime, endTime, offset, limit);
645
				searchValue, startTime, endTime, offset, limit);
650
		model.addAllAttributes(map);
646
		model.addAllAttributes(map);
651
		model.addAttribute("url", "/getPaginatedSaleHistory");
-
 
652
		return "sale-history-paginated";
647
		return "sale-history-paginated";
653
	}
648
	}
654
 
649
 
655
	@PutMapping(value = "/updatePaymentTransaction")
650
	@PutMapping(value = "/updatePaymentTransaction")
656
	public String updateTransactionDetails(HttpServletRequest request, @RequestParam String referenceType,
651
	public String updateTransactionDetails(HttpServletRequest request, @RequestParam String referenceType,