Author: lektran
Date: Sat Jul 7 05:26:02 2007
New Revision: 554188
URL: http://svn.apache.org/viewvc?view=rev&rev=554188
Log:
Applied fix from trunk for revision: 543965
Modified:
ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Modified:
ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java?view=diff&rev=554188&r1=554187&r2=554188
==============================================================================
---
ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
(original)
+++
ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Sat Jul 7 05:26:02 2007
@@ -3327,7 +3327,6 @@
/** make a list of all OrderPaymentPreferences and Billing info including
all payment methods and types */
public List makeAllOrderPaymentInfos(LocalDispatcher dispatcher) {
List allOpPrefs = new LinkedList();
- //double remainingAmount = this.getGrandTotal() -
this.getPaymentTotal();
BigDecimal remainingAmount = new BigDecimal(this.getGrandTotal() -
this.getPaymentTotal());
remainingAmount = remainingAmount.setScale(2,
BigDecimal.ROUND_HALF_UP);
if (getBillingAccountId() != null) {