| Line 196... |
Line 196... |
| 196 |
String approverEmail = "gaurav.sharma@smartdukaan.com";
|
196 |
String approverEmail = "gaurav.sharma@smartdukaan.com";
|
| 197 |
if (email.equals(approverEmail)) {
|
197 |
if (email.equals(approverEmail)) {
|
| 198 |
isDocApprover = true;
|
198 |
isDocApprover = true;
|
| 199 |
}
|
199 |
}
|
| 200 |
boolean isAgreedBrandFeeChanger = agreedBrandFeeChangerEmail.stream().anyMatch(x -> x.equals(email));
|
200 |
boolean isAgreedBrandFeeChanger = agreedBrandFeeChangerEmail.stream().anyMatch(x -> x.equals(email));
|
| 201 |
List<String> authEmail = Arrays.asList("sm@smartdukaan.com", "tarun.verma@smartdukaan.com", "ashutosh.verma@smartdukaan.com");
|
201 |
List<String> authEmails = Arrays.asList("sm@smartdukaan.com", "tarun.verma@smartdukaan.com", "ashutosh.verma@smartdukaan.com");
|
| 202 |
boolean isAuthUser = authEmail.stream().anyMatch(x -> x.equals(email));
|
202 |
boolean isAuthUser = authEmails.stream().anyMatch(x -> x.equals(email));
|
| 203 |
List<LoiFormModel> pendingFormList = loiFormService.pendingFormList(email);
|
203 |
List<LoiFormModel> pendingFormList = loiFormService.pendingFormList(email);
|
| 204 |
model.addAttribute("isDocApprover", isDocApprover);
|
204 |
model.addAttribute("isDocApprover", isDocApprover);
|
| 205 |
model.addAttribute("isAuthUser", isAuthUser);
|
205 |
model.addAttribute("isAuthUser", isAuthUser);
|
| 206 |
model.addAttribute("isAgreedBrandFeeChanger", isAgreedBrandFeeChanger);
|
206 |
model.addAttribute("isAgreedBrandFeeChanger", isAgreedBrandFeeChanger);
|
| 207 |
model.addAttribute("pendingFormList", pendingFormList);
|
207 |
model.addAttribute("pendingFormList", pendingFormList);
|