You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2017/02/07 09:42:42 UTC
svn commit: r1781979 -
/ofbiz/trunk/applications/order/groovyScripts/order/OrderView.groovy
Author: mbrohl
Date: Tue Feb 7 09:42:41 2017
New Revision: 1781979
URL: http://svn.apache.org/viewvc?rev=1781979&view=rev
Log:
Fixed: Cancelled OrderItems are still included in orderGrandTotal.
(OFBIZ-9204)
Thanks: Maurice for reporting and providing the patch, Deepak and Jacques for their suggestions.
Modified:
ofbiz/trunk/applications/order/groovyScripts/order/OrderView.groovy
Modified: ofbiz/trunk/applications/order/groovyScripts/order/OrderView.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/groovyScripts/order/OrderView.groovy?rev=1781979&r1=1781978&r2=1781979&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/groovyScripts/order/OrderView.groovy (original)
+++ ofbiz/trunk/applications/order/groovyScripts/order/OrderView.groovy Tue Feb 7 09:42:41 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()