Author: hansbak
Date: Fri Mar 30 08:25:41 2012
New Revision: 1307302
URL:
http://svn.apache.org/viewvc?rev=1307302&view=revLog:
promotions not added to ordertotal: corrected
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java?rev=1307302&r1=1307301&r2=1307302&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReadHelper.java Fri Mar 30 08:25:41 2012
@@ -2593,7 +2593,7 @@ public class OrderReadHelper {
List<GenericValue> newOrderAdjustmentsList = FastList.newInstance();
if (UtilValidate.isNotEmpty(adjustments)) {
- for(GenericValue orderAdjustment : newOrderAdjustmentsList) {
+ for(GenericValue orderAdjustment : adjustments) {
boolean includeAdjustment = false;
if ("SALES_TAX".equals(orderAdjustment.getString("orderAdjustmentTypeId")) ||