Author: bibryam
Date: Mon Jun 16 07:16:07 2008
New Revision: 668172
URL:
http://svn.apache.org/viewvc?rev=668172&view=revLog:
Fixed a groovy bug.
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/OrderListInvoiceItem.groovy
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/OrderListInvoiceItem.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/OrderListInvoiceItem.groovy?rev=668172&r1=668171&r2=668172&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/OrderListInvoiceItem.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/OrderListInvoiceItem.groovy Mon Jun 16 07:16:07 2008
@@ -24,7 +24,7 @@
import javolution.util.FastMap;
invoiceId = context.invoiceId;
-if (invoiceId) return;
+if (!invoiceId) return;
List invoiceItems = [];
invoiceItemList = delegator.findByAnd("InvoiceItem", [invoiceId : invoiceId], ["invoiceItemSeqId"]);