Subversion Repositories SmartDukaan

Rev

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

Rev 35514 Rev 35541
Line 2433... Line 2433...
2433
        model.addAttribute("partnerMonthSaleMap", partnerMonthSaleMap);
2433
        model.addAttribute("partnerMonthSaleMap", partnerMonthSaleMap);
2434
        return "monthly-partner-sale";
2434
        return "monthly-partner-sale";
2435
 
2435
 
2436
    }
2436
    }
2437
 
2437
 
2438
    @RequestMapping(value = "/getMonthWisePurchase", method = RequestMethod.GET)
2438
    @RequestMapping(value = "/getMonthWisePurchase", method = RequestMethod.POST)
2439
    public String getMonthWisePurchase(HttpServletRequest request, @RequestParam List<Integer> fofoIds, Model
2439
    public String getMonthWisePurchase(HttpServletRequest request, @RequestParam List<Integer> fofoIds, Model
2440
            model) throws Exception {
2440
            model) throws Exception {
2441
 
2441
 
2442
        YearMonth now = YearMonth.now();
2442
        YearMonth now = YearMonth.now();
2443
        YearMonth ym = YearMonth.now().minusMonths(12);
2443
        YearMonth ym = YearMonth.now().minusMonths(12);