Subversion Repositories SmartDukaan

Rev

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

Rev 35306 Rev 35360
Line 890... Line 890...
890
                if (trialForm != null) {
890
                if (trialForm != null) {
891
                    fofoStoreCode = "T-" + fofoStoreCode;
891
                    fofoStoreCode = "T-" + fofoStoreCode;
892
                    fofoStore.setTrial(true);
892
                    fofoStore.setTrial(true);
893
                    fofoStore.setTrialStart(LocalDate.now());
893
                    fofoStore.setTrialStart(LocalDate.now());
894
                    fofoStore.setTrialEnd(LocalDate.now().plusDays(31));
894
                    fofoStore.setTrialEnd(LocalDate.now().plusDays(31));
895
                    trialForm.setStatus(ProfitMandiConstants.Status.APPROVED);
895
                    trialForm.setStatus(ProfitMandiConstants.Status.TMP_STORE_CODE_CREATED);
896
                    //TODO:Amit G, Send store code notification to retailer.
896
                    //TODO:Amit G, Send store code notification to retailer.
897
                }
897
                }
898
            } catch (ProfitMandiBusinessException e) {
898
            } catch (ProfitMandiBusinessException e) {
899
            }
899
            }
900
            fofoStore.setCode(fofoStoreCode);
900
            fofoStore.setCode(fofoStoreCode);