You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/03/16 21:02:10 UTC
svn commit: r519118 -
/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/shipGroups.bsh
Author: sichen
Date: Fri Mar 16 13:02:10 2007
New Revision: 519118
URL: http://svn.apache.org/viewvc?view=rev&rev=519118
Log:
Fix typo bug in ship groups pdf which was causing group total to be off.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/shipGroups.bsh
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/shipGroups.bsh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/shipGroups.bsh?view=diff&rev=519118&r1=519117&r2=519118
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/shipGroups.bsh (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/shipGroups.bsh Fri Mar 16 13:02:10 2007
@@ -84,8 +84,8 @@
if ("MARKETING_PKG_AUTO".equals(product.get("productTypeId"))) {
sublines = expandProductGroup(product, orderItemAssoc.get("quantity").doubleValue());
line.put("expandedList", sublines);
- for (siter = sublines.iterator(); iter.hasNext(); ) {
- subline = iter.next();
+ for (siter = sublines.iterator(); siter.hasNext(); ) {
+ subline = siter.next();
groupQuantity += subline.get("quantityInGroup").doubleValue();
}
} else {