svn commit: r421772 - /incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r421772 - /incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java

sichen
Author: sichen
Date: Thu Jul 13 17:39:14 2006
New Revision: 421772

URL: http://svn.apache.org/viewvc?rev=421772&view=rev
Log:
Automatically set order name to quote name when loading up a quote to cart to create an order

Modified:
    incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java

Modified: incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java?rev=421772&r1=421771&r2=421772&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java (original)
+++ incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java Thu Jul 13 17:39:14 2006
@@ -411,6 +411,7 @@
         }
 
         cart.setQuoteId(quoteId);
+        cart.setOrderName(quote.getString("quoteName"));
         
         List quoteItems = null;
         List quoteAdjs = null;