Subversion Repositories SmartDukaan

Rev

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

Rev 35650 Rev 35708
Line 1329... Line 1329...
1329
            PartnerCollectionRemark pcr = new PartnerCollectionRemark();
1329
            PartnerCollectionRemark pcr = new PartnerCollectionRemark();
1330
            pcr.setFofoId(ptam.getFofoId());
1330
            pcr.setFofoId(ptam.getFofoId());
1331
            pcr.setAuthId(authUser.getId());
1331
            pcr.setAuthId(authUser.getId());
1332
            pcr.setMessage("Collection plan for" + ptam.getCollectionCommitmentDate());
1332
            pcr.setMessage("Collection plan for" + ptam.getCollectionCommitmentDate());
1333
            pcr.setRemark(CollectionRemark.COLLECTION_PLAN);
1333
            pcr.setRemark(CollectionRemark.COLLECTION_PLAN);
-
 
1334
            pcr.setAgentCallLogId(0);
1334
            pcr.setCreateTimestamp(LocalDateTime.now());
1335
            pcr.setCreateTimestamp(LocalDateTime.now());
1335
            partnerCollectionRemarkRepository.persist(pcr);
1336
            partnerCollectionRemarkRepository.persist(pcr);
1336
        } else {
1337
        } else {
1337
            throw new ProfitMandiBusinessException("Date", "",
1338
            throw new ProfitMandiBusinessException("Date", "",
1338
                    "you can't select the back date " + ptam.getCollectionCommitmentDate());
1339
                    "you can't select the back date " + ptam.getCollectionCommitmentDate());