[OFBiz] SVN: r5635 -
trunk/applications/order/src/org/ofbiz/order/shoppingcart
jacopo at svn.ofbiz.org
jacopo at svn.ofbiz.org
Sat Sep 3 01:24:45 EDT 2005
Author: jacopo
Date: 2005-09-03 00:24:39 -0500 (Sat, 03 Sep 2005)
New Revision: 5635
Modified:
trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
Log:
Applied patch from Hans Bakker to fix a bug I've introduced with one of my last patches about quote adjustments.
Modified: trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
===================================================================
--- trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java 2005-09-02 23:38:32 UTC (rev 5634)
+++ trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java 2005-09-03 05:24:39 UTC (rev 5635)
@@ -202,7 +202,7 @@
* @throws CartItemModifyException
*/
public static ShoppingCartItem makeItem(Integer cartLocation, String productId, double selectedAmount, double quantity, Timestamp reservStart, double reservLength, double reservPersons, Map additionalProductFeatureAndAppls, Map attributes, String prodCatalogId, ProductConfigWrapper configWrapper, LocalDispatcher dispatcher, ShoppingCart cart) throws CartItemModifyException, ItemNotFoundException {
- return ShoppingCartItem.makeItem(cartLocation, productId, selectedAmount, quantity, null, 0.00, 0.00, additionalProductFeatureAndAppls, attributes, prodCatalogId, configWrapper, dispatcher, cart, true);
+ return ShoppingCartItem.makeItem(cartLocation, productId, selectedAmount, quantity, reservStart, reservLength, reservPersons, additionalProductFeatureAndAppls, attributes, prodCatalogId, configWrapper, dispatcher, cart, true);
}
/**
* Makes a ShoppingCartItem and adds it to the cart.
More information about the Svn
mailing list