Subversion Repositories SmartDukaan

Rev

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

Rev 37262 Rev 37516
Line 206... Line 206...
206
        String approverEmail = "gaurav.sharma@smartdukaan.com";
206
        String approverEmail = "gaurav.sharma@smartdukaan.com";
207
        if (email.equals(approverEmail)) {
207
        if (email.equals(approverEmail)) {
208
            isDocApprover = true;
208
            isDocApprover = true;
209
        }
209
        }
210
        boolean isAgreedBrandFeeChanger = agreedBrandFeeChangerEmail.stream().anyMatch(x -> x.equals(email));
210
        boolean isAgreedBrandFeeChanger = agreedBrandFeeChangerEmail.stream().anyMatch(x -> x.equals(email));
211
        List<String> authEmails = Arrays.asList("sm@smartdukaan.com", "kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com", "ashutosh.verma@smartdukaan.com");
211
        List<String> authEmails = Arrays.asList("raj.singh@smartdukaan.com", "kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com");
212
        boolean isAuthUser = authEmails.stream().anyMatch(x -> x.equals(email));
212
        boolean isAuthUser = authEmails.stream().anyMatch(x -> x.equals(email));
213
        List<LoiFormModel> pendingFormList = loiFormService.pendingFormList(email);
213
        List<LoiFormModel> pendingFormList = loiFormService.pendingFormList(email);
214
        model.addAttribute("isDocApprover", isDocApprover);
214
        model.addAttribute("isDocApprover", isDocApprover);
215
        model.addAttribute("isAuthUser", isAuthUser);
215
        model.addAttribute("isAuthUser", isAuthUser);
216
        model.addAttribute("isAgreedBrandFeeChanger", isAgreedBrandFeeChanger);
216
        model.addAttribute("isAgreedBrandFeeChanger", isAgreedBrandFeeChanger);