| Line 125... |
Line 125... |
| 125 |
public String getCreateOffer(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
125 |
public String getCreateOffer(HttpServletRequest request, Model model) throws ProfitMandiBusinessException {
|
| 126 |
LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
|
126 |
LoginDetails loginDetails = cookiesProcessor.getCookiesObject(request);
|
| 127 |
List<Integer> fofoIds = fofoStoreRepository.selectActiveStores().stream().map(x -> x.getId())
|
127 |
List<Integer> fofoIds = fofoStoreRepository.selectActiveStores().stream().map(x -> x.getId())
|
| 128 |
.collect(Collectors.toList());
|
128 |
.collect(Collectors.toList());
|
| 129 |
|
129 |
|
| 130 |
Set<String> brands = brandsService.getBrands(3).stream().map(x->x.getName()).collect(Collectors.toSet());
|
130 |
Set<String> brands = brandsService.getBrandsToDisplay(3).stream().map(x->x.getName()).collect(Collectors.toSet());
|
| 131 |
brands.addAll(itemRepository.selectAllBrands(ProfitMandiConstants.LED_CATEGORY_ID));
|
131 |
brands.addAll(itemRepository.selectAllBrands(ProfitMandiConstants.LED_CATEGORY_ID));
|
| 132 |
//Lets allow demo
|
132 |
//Lets allow demo
|
| 133 |
brands.add("Live Demo");
|
133 |
brands.add("Live Demo");
|
| 134 |
|
134 |
|
| 135 |
Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
|
135 |
Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
|