Subversion Repositories SmartDukaan

Rev

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

Rev 26332 Rev 26340
Line 227... Line 227...
227
 
227
 
228
	public float getPartnerPayout() {
228
	public float getPartnerPayout() {
229
		return partnerPayout;
229
		return partnerPayout;
230
	}
230
	}
231
 
231
 
-
 
232
	public float getDropAmount() {
-
 
233
		return oldDp - newDp;
-
 
234
	}
232
	public float getAutoPartnerPayout() {
235
	public float getAutoPartnerPayout() {
233
		if(this.getPartnerPayout() == 0) {
236
		if(this.getPartnerPayout() == 0) {
234
			return this.getPriceDropIn()/1.12f;
237
			return this.getDropAmount()/1.12f;
235
		} else {
238
		} else {
236
			return this.getPartnerPayout();
239
			return this.getPartnerPayout();
237
		}
240
		}
238
	}
241
	}
239
	
242