Subversion Repositories SmartDukaan

Rev

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

Rev 37671 Rev 37815
Line 270... Line 270...
270
            isDocApprover = true;
270
            isDocApprover = true;
271
        }
271
        }
272
        boolean isAgreedBrandFeeChanger = agreedBrandFeeChangerEmail.stream().anyMatch(x -> x.equals(email));
272
        boolean isAgreedBrandFeeChanger = agreedBrandFeeChangerEmail.stream().anyMatch(x -> x.equals(email));
273
        List<String> authEmails = Arrays.asList("raj.singh@smartdukaan.com", "kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com");
273
        List<String> authEmails = Arrays.asList("raj.singh@smartdukaan.com", "kamini.sharma@smartdukaan.com", "tarun.verma@smartdukaan.com");
274
        boolean isAuthUser = authEmails.stream().anyMatch(x -> x.equals(email));
274
        boolean isAuthUser = authEmails.stream().anyMatch(x -> x.equals(email));
-
 
275
        boolean isFinanceL1 = csService.getAuthUserByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_ACCOUNTS, EscalationType.L1)
-
 
276
                .stream().anyMatch(x -> email.equals(x.getEmailId()));
275
        List<LoiFormModel> pendingFormList = loiFormService.pendingFormList(email);
277
        List<LoiFormModel> pendingFormList = loiFormService.pendingFormList(email);
276
        model.addAttribute("isDocApprover", isDocApprover);
278
        model.addAttribute("isDocApprover", isDocApprover);
277
        model.addAttribute("isAuthUser", isAuthUser);
279
        model.addAttribute("isAuthUser", isAuthUser);
-
 
280
        model.addAttribute("isFinanceL1", isFinanceL1);
278
        model.addAttribute("isAgreedBrandFeeChanger", isAgreedBrandFeeChanger);
281
        model.addAttribute("isAgreedBrandFeeChanger", isAgreedBrandFeeChanger);
279
        model.addAttribute("pendingFormList", pendingFormList);
282
        model.addAttribute("pendingFormList", pendingFormList);
280
        model.addAttribute("brandType", StoreType.valueList);
283
        model.addAttribute("brandType", StoreType.valueList);
281
        return "pendingForm";
284
        return "pendingForm";
282
    }
285
    }