Subversion Repositories SmartDukaan

Rev

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

Rev 24429 Rev 24680
Line 343... Line 343...
343
		model.addAttribute("response", mvcResponseSender.createResponseString(true));
343
		model.addAttribute("response", mvcResponseSender.createResponseString(true));
344
 
344
 
345
		return "response";
345
		return "response";
346
 
346
 
347
	}
347
	}
-
 
348
	@GetMapping(value="/getAllInactiveStores")
-
 
349
	public String getInactiveStores(HttpServletRequest request,Model model)
-
 
350
	{
-
 
351
		List<InActiveFofoStore> inActiveFofoStores=fofoStoreRepository.getInactiveStore();
-
 
352
		Map<Integer, CustomRetailer> customRetailers = retailerService.getFofoRetailers(inActiveFofoStores.stream().map(x->x.getId()).collect(Collectors.toList()));
-
 
353
		model.addAttribute("inActiveFofoStores", inActiveFofoStores);
-
 
354
		model.addAttribute("customRetailers", customRetailers);
-
 
355
		return "inactive-stores";
-
 
356
	}
348
	
357
	
349
	//Extend billing for 2 days
358
	//Extend billing for 2 days
350
	@PostMapping(value = "/extendBilling")
359
	@PostMapping(value = "/extendBilling")
351
	public String extendBilling(HttpServletRequest request,
360
	public String extendBilling(HttpServletRequest request,
352
			@RequestParam(name = ProfitMandiConstants.FOFO_ID) int fofoId, Model model) throws Exception {
361
			@RequestParam(name = ProfitMandiConstants.FOFO_ID) int fofoId, Model model) throws Exception {