Subversion Repositories SmartDukaan

Rev

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

Rev 26236 Rev 26237
Line 374... Line 374...
374
				model.addAttribute("partnerType", partnerType);
374
				model.addAttribute("partnerType", partnerType);
375
				model.addAttribute("hasGift", hasGift(loginDetails.getFofoId()));
375
				model.addAttribute("hasGift", hasGift(loginDetails.getFofoId()));
376
				model.addAttribute("giftItemId", ProfitMandiConstants.GIFT_ID);
376
				model.addAttribute("giftItemId", ProfitMandiConstants.GIFT_ID);
377
				model.addAttribute("retailers", new JSONObject().append("code", fofoStore.getCode())
377
				model.addAttribute("retailers", new JSONObject().append("code", fofoStore.getCode())
378
						.append("partnerId", fofoStore.getId()).toString());
378
						.append("partnerId", fofoStore.getId()).toString());
-
 
379
				model.addAttribute("activatedImeis", inventoryItemRepository.selectCountByActivatedNotSold(loginDetails.getFofoId()));
379
				LocalDateTime curDate = LocalDate.now().atStartOfDay();
380
				LocalDateTime curDate = LocalDate.now().atStartOfDay();
380
				Map<Integer, Double> accesoriesmtdsale = fofoOrderRepository
381
				Map<Integer, Double> accesoriesmtdsale = fofoOrderRepository
381
						.selectSumSaleGroupByFofoIdsForMobileOrAccessories(loginDetails.getFofoId(),
382
						.selectSumSaleGroupByFofoIdsForMobileOrAccessories(loginDetails.getFofoId(),
382
								curDate.withDayOfMonth(1), curDate.with(LocalTime.MAX), Optional.of(false));
383
								curDate.withDayOfMonth(1), curDate.with(LocalTime.MAX), Optional.of(false));
383
				LOGGER.info("accesoriesmtdsale" + accesoriesmtdsale);
384
				LOGGER.info("accesoriesmtdsale" + accesoriesmtdsale);