Author: mbrohl
Date: Tue Feb 7 09:56:10 2017
New Revision: 1781982
URL:
http://svn.apache.org/viewvc?rev=1781982&view=revLog:
Fixed: Cancelled OrderItems are still included in orderGrandTotal.
(OFBIZ-9204)
Manually backported to 15.12
Thanks: Maurice for reporting and providing the patch, Deepak and Jacques for their suggestions.
Modified:
ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy
Modified: ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy?rev=1781982&r1=1781981&r2=1781982&view=diff==============================================================================
--- ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy (original)
+++ ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy Tue Feb 7 09:56:10 2017
@@ -116,7 +116,7 @@ if (orderHeader) {
taxAmount = OrderReadHelper.getOrderTaxByTaxAuthGeoAndParty(orderAdjustments).taxGrandTotal;
context.taxAmount = taxAmount;
- grandTotal = OrderReadHelper.getOrderGrandTotal(orderItems, orderAdjustments);
+ grandTotal = orderReadHelper.getOrderGrandTotal();
context.grandTotal = grandTotal;
orderItemList = orderReadHelper.getOrderItems();