Subversion Repositories SmartDukaan

Rev

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

Rev 31521 Rev 32129
Line 388... Line 388...
388
					isOk = partnerInvestmentService.isInvestmentOk(fofoStore.getId(), ProfitMandiConstants.MIN_INVESTMENT_PERCENTAGE,
388
					isOk = partnerInvestmentService.isInvestmentOk(fofoStore.getId(), ProfitMandiConstants.MIN_INVESTMENT_PERCENTAGE,
389
							ProfitMandiConstants.CUTOFF_INVESTMENT);
389
							ProfitMandiConstants.CUTOFF_INVESTMENT);
390
					if (fofoStore.getGraceCount() > 0) {
390
					if (fofoStore.getGraceCount() > 0) {
391
						fofoStore.setGraceDate(null);
391
						fofoStore.setGraceDate(null);
392
						fofoStore.setGraceCount(0);
392
						fofoStore.setGraceCount(0);
393
						fofoStoreRepository.persist(fofoStore);
393
						//fofoStoreRepository.persist(fofoStore);
394
					}
394
					}
395
				} catch (ProfitMandiBusinessException e) {
395
				} catch (ProfitMandiBusinessException e) {
396
				}
396
				}
397
			}
397
			}
398
			investments.put(fofoStore.getId(), isOk);
398
			investments.put(fofoStore.getId(), isOk);