Subversion Repositories SmartDukaan

Rev

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

Rev 30651 Rev 30670
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
-
 
3
import com.fasterxml.jackson.annotation.JsonIgnore;
3
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
4
import com.spice.profitmandi.dao.enumuration.catalog.AmountType;
4
import com.spice.profitmandi.service.offers.ItemCriteria;
5
import com.spice.profitmandi.service.offers.ItemCriteria;
5
import com.spice.profitmandi.service.offers.PayoutSlab;
6
import com.spice.profitmandi.service.offers.PayoutSlab;
6
 
7
 
7
import java.util.List;
8
import java.util.List;
Line 14... Line 15...
14
	private long achievedValue;
15
	private long achievedValue;
15
	private long shortValue;
16
	private long shortValue;
16
	private PayoutSlab currentSlab;
17
	private PayoutSlab currentSlab;
17
	private PayoutSlab nextSlab;
18
	private PayoutSlab nextSlab;
18
 
19
 
-
 
20
	@JsonIgnore
19
	public String getCurretPayoutString() {
21
	public String getCurretPayoutString() {
20
		String templateString = null;
22
		String templateString = null;
21
		if (this.getAmountType().equals(AmountType.FIXED)) {
23
		if (this.getAmountType().equals(AmountType.FIXED)) {
22
			templateString = "Rs. %f per pc";
24
			templateString = "Rs. %f per pc";
23
		} else if (this.getAmountType().equals(AmountType.PERCENTAGE)) {
25
		} else if (this.getAmountType().equals(AmountType.PERCENTAGE)) {