Author: jleroux
Date: Sun Nov 11 06:37:56 2007
New Revision: 593891
URL:
http://svn.apache.org/viewvc?rev=593891&view=revLog:
Fix a bug : there is no amount attribute in calculatePurchasePrice service.
This line does not exist in release4.0
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java?rev=593891&r1=593890&r2=593891&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java Sun Nov 11 06:37:56 2007
@@ -1028,7 +1028,6 @@
priceContext.put("partyId", partyId);
}
priceContext.put("quantity", new Double(this.getQuantity()));
- priceContext.put("amount", new Double(this.getSelectedAmount()));
priceContext.put("product", this.getProduct());
if (cart.getOrderType().equals("PURCHASE_ORDER")) {
Map priceResult = dispatcher.runSync("calculatePurchasePrice", priceContext);