Subversion Repositories SmartDukaan

Rev

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

Rev 28028 Rev 28029
Line 46... Line 46...
46
		}
46
		}
47
		StringBuffer sb = new StringBuffer();
47
		StringBuffer sb = new StringBuffer();
48
		if(this.getNextTargetSlab() != null) {
48
		if(this.getNextTargetSlab() != null) {
49
			sb.append("Sell ");
49
			sb.append("Sell ");
50
			if(this.getTargetType().equals(AchievementType.VALUE)) {
50
			if(this.getTargetType().equals(AchievementType.VALUE)) {
51
				sb.append("stock worth Rs.<span class=\"currency\">").append(this.getNextTargetSlab().getRemainingAmount(this.eligibleSale))
51
				sb.append("stock worth Rs.<span class=\"currency\">")
52
				.append(this.getNextTargetSlab().getRemainingAmount(this.eligibleSale))
52
				.append(this.getNextTargetSlab().getRemainingAmount(this.eligibleSale))
53
				.append("</span> to earn ").append(this.getNextTargetSlab().getTargetDescription());
53
				.append("</span> to earn ").append(this.getNextTargetSlab().getTargetDescription());
54
			} else {
54
			} else {
55
					sb.append(this.getNextTargetSlab().getRemainingAmount(this.eligibleSale))
55
					sb.append(this.getNextTargetSlab().getRemainingAmount(this.eligibleSale))
56
					.append(" more units to earn ")
56
					.append(" more units to earn ")