| Line 641... |
Line 641... |
| 641 |
}
|
641 |
}
|
| 642 |
FofoStore fs = fofoStoreRepository.selectByRetailerId(fofoId);
|
642 |
FofoStore fs = fofoStoreRepository.selectByRetailerId(fofoId);
|
| 643 |
|
643 |
|
| 644 |
//.minusDays(2)
|
644 |
//.minusDays(2)
|
| 645 |
PriceCircularModel priceCircularModel = priceCircularService.getPriceCircularByOffer(fofoId, brand, LocalDate.now());
|
645 |
PriceCircularModel priceCircularModel = priceCircularService.getPriceCircularByOffer(fofoId, brand, LocalDate.now());
|
| - |
|
646 |
//Get slowmong/missign category for that brand
|
| - |
|
647 |
//get stock with us missing as well as with partner missing
|
| - |
|
648 |
//filter that stock
|
| 646 |
return this.getPriceCircularView(priceCircularModel, model, fs.getCode());
|
649 |
return this.getPriceCircularView(priceCircularModel, model, fs.getCode());
|
| 647 |
}
|
650 |
}
|
| 648 |
|
651 |
|
| 649 |
public String getPriceCircularView(PriceCircularModel priceCircularModel, Model model, String partnerCode) {
|
652 |
public String getPriceCircularView(PriceCircularModel priceCircularModel, Model model, String partnerCode) {
|
| 650 |
List<String> allMarginsSet = new ArrayList<>(this.getSchemeHeaders(priceCircularModel));
|
653 |
List<String> allMarginsSet = new ArrayList<>(this.getSchemeHeaders(priceCircularModel));
|