Subversion Repositories SmartDukaan

Rev

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

Rev 30801 Rev 30802
Line 907... Line 907...
907
			for (Entry<Integer, PartnerCollectionPlanModel> todayPcpmMapEntry : todayPcpmMap.entrySet()) {
907
			for (Entry<Integer, PartnerCollectionPlanModel> todayPcpmMapEntry : todayPcpmMap.entrySet()) {
908
				PartnerCollectionPlanModel collectionPlan = todayPcpmMapEntry.getValue();
908
				PartnerCollectionPlanModel collectionPlan = todayPcpmMapEntry.getValue();
909
				if (collectionPlan.getTargetPlan() != null && collectionPlan.getCommittedDate() != null) {
909
				if (collectionPlan.getTargetPlan() != null && collectionPlan.getCommittedDate() != null) {
910
					float targetCollection = 0;
910
					float targetCollection = 0;
911
 
911
 
912
					if (collectionPlan.getRank() == 2) {
912
					if (collectionPlan.getRank() == 2 && collectionPlan.getAchievementPlan() != null) {
913
						targetCollection = collectionPlan.getTargetPlan() - collectionPlan.getAchievementPlan();
913
						targetCollection = collectionPlan.getTargetPlan() - collectionPlan.getAchievementPlan();
914
					} else {
914
					} else {
915
						targetCollection = collectionPlan.getTargetPlan();
915
						targetCollection = collectionPlan.getTargetPlan();
916
					}
916
					}
917
 
917