| Line 383... |
Line 383... |
| 383 |
FofoStore fofoStore = fofoStoreRepository.selectByRetailerId(saholicUser.getId());
|
383 |
FofoStore fofoStore = fofoStoreRepository.selectByRetailerId(saholicUser.getId());
|
| 384 |
if (fofoStore.isActive()) {
|
384 |
if (fofoStore.isActive()) {
|
| 385 |
responseMap.put(ProfitMandiConstants.USER_STATUS, UserStatus.FOFO.getValue());
|
385 |
responseMap.put(ProfitMandiConstants.USER_STATUS, UserStatus.FOFO.getValue());
|
| 386 |
responseMap.put("storeUrl", retailerService.getAllFofoRetailerIdUrlMap().get(uc.getUserId()));
|
386 |
responseMap.put("storeUrl", retailerService.getAllFofoRetailerIdUrlMap().get(uc.getUserId()));
|
| 387 |
responseMap.put("timelineStatus", this.getTimeLineStatus(uc.getUserId()));
|
387 |
responseMap.put("timelineStatus", this.getTimeLineStatus(uc.getUserId()));
|
| - |
|
388 |
if(fofoStore.isTrial()) {
|
| - |
|
389 |
responseMap.put("fofoTrialEndDate", fofoStore.getTrialEnd());
|
| - |
|
390 |
}
|
| 388 |
} else {
|
391 |
} else {
|
| 389 |
responseMap.put(ProfitMandiConstants.USER_STATUS, UserStatus.VERIFIED_RETAILER.getValue());
|
392 |
responseMap.put(ProfitMandiConstants.USER_STATUS, UserStatus.VERIFIED_RETAILER.getValue());
|
| 390 |
}
|
393 |
}
|
| 391 |
} else {
|
394 |
} else {
|
| 392 |
responseMap.put(ProfitMandiConstants.USER_STATUS, UserStatus.VERIFIED_RETAILER.getValue());
|
395 |
responseMap.put(ProfitMandiConstants.USER_STATUS, UserStatus.VERIFIED_RETAILER.getValue());
|