Subversion Repositories SmartDukaan

Rev

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

Rev 9767 Rev 9768
Line 274... Line 274...
274
			Map<Long, ItemStockDetail> itemAvailabilityMap) {
274
			Map<Long, ItemStockDetail> itemAvailabilityMap) {
275
		this.itemAvailabilityMap = itemAvailabilityMap;
275
		this.itemAvailabilityMap = itemAvailabilityMap;
276
	}
276
	}
277
	
277
	
278
	public String getSource(long source) {
278
	public String getSource(long source) {
-
 
279
		if(source == 0) {
-
 
280
			return "DONT-SELL";
-
 
281
		}
279
		return OrderSource.findByValue(new Long(source).intValue()).toString();
282
		return OrderSource.findByValue(new Long(source).intValue()).toString();
280
	}
283
	}
281
}
284
}
282
285