Subversion Repositories SmartDukaan

Rev

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

Rev 7499 Rev 7572
Line 440... Line 440...
440
		}
440
		}
441
 
441
 
442
		return gatewayName;
442
		return gatewayName;
443
	}
443
	}
444
 
444
 
445
	public String getProductName(LineItem lineItem) {
-
 
446
		String name = ModelUtils.extractProductNameFromLineItem(lineItem);
-
 
447
 
-
 
448
		if (lineItem.getColor() != null && !lineItem.getColor().isEmpty()) {
-
 
449
			name += "(" + lineItem.getColor() + ")";
-
 
450
		}
-
 
451
 
-
 
452
		return name;
-
 
453
	}
-
 
454
 
-
 
455
	public int convertDouble(double value) {
445
	public int convertDouble(double value) {
456
		return (int)value;
446
		return (int)value;
457
	}
447
	}
458
 
448
 
459
	public String getInsuranceExpiryDate(long DeliveryDate) {
449
	public String getInsuranceExpiryDate(long DeliveryDate) {