Subversion Repositories SmartDukaan

Rev

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

Rev 33857 Rev 33879
Line 108... Line 108...
108
    @Autowired
108
    @Autowired
109
    MVCResponseSender mvcResponseSender;
109
    MVCResponseSender mvcResponseSender;
110
    @Autowired
110
    @Autowired
111
    private CookiesProcessor cookiesProcessor;
111
    private CookiesProcessor cookiesProcessor;
112
    @Autowired
112
    @Autowired
113
    BrandCommitRepository brandMasterRepository;
113
    BrandCommitRepository brandCommitRepository;
114
    @Autowired
114
    @Autowired
115
    BrandsRepository brandsRepository;
115
    BrandsRepository brandsRepository;
116
    @Autowired
116
    @Autowired
117
    BrandCategoryRepository brandCategoryRepository;
117
    BrandCategoryRepository brandCategoryRepository;
118
    @Autowired
118
    @Autowired
Line 133... Line 133...
133
        for (BrandFee fee : brandFee) {
133
        for (BrandFee fee : brandFee) {
134
            for (StoreType storeType : StoreType.values()) {
134
            for (StoreType storeType : StoreType.values()) {
135
                storeTypeFeePairs.add(Pair.of(storeType, fee));
135
                storeTypeFeePairs.add(Pair.of(storeType, fee));
136
            }
136
            }
137
        }
137
        }
138
        List<BrandCommit> brandCommits = brandMasterRepository.selectAllBrand();
138
        List<BrandCommit> brandCommits = brandCommitRepository.selectAllBrand();
139
        List<BusinessType> businessTypes = Arrays.asList(BusinessType.Proprietorship, BusinessType.Partnership, BusinessType.Company);
139
        List<BusinessType> businessTypes = Arrays.asList(BusinessType.Proprietorship, BusinessType.Partnership, BusinessType.Company);
140
        model.addAttribute("businessTypes", businessTypes);
140
        model.addAttribute("businessTypes", businessTypes);
141
        model.addAttribute("brandCommits", brandCommits);
141
        model.addAttribute("brandCommits", brandCommits);
142
        model.addAttribute("storeTypeFeePairs", storeTypeFeePairs);
142
        model.addAttribute("storeTypeFeePairs", storeTypeFeePairs);
143
        model.addAttribute("authUsersList", authUsersList);
143
        model.addAttribute("authUsersList", authUsersList);