Author: lektran
Date: Sun Apr 18 20:20:14 2010
New Revision: 935401
URL:
http://svn.apache.org/viewvc?rev=935401&view=revLog:
Replaced some commas with colons, fixes bug reported by Blas Rodriguez Somoza in OFBIZ-3710
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/InvoiceReport.groovy
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/InvoiceReport.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/InvoiceReport.groovy?rev=935401&r1=935400&r2=935401&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/InvoiceReport.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/InvoiceReport.groovy Sun Apr 18 20:20:14 2010
@@ -36,9 +36,9 @@ if (invoiceTypeId) {
LESS_THAN(dueDate: UtilDateTime.nowTimestamp())
}
if ("PURCHASE_INVOICE".equals(invoiceTypeId)) {
- invoiceStatusesCondition = exprBldr.IN(statusId, ["INVOICE_RECEIVED", "INVOICE_IN_PROCESS"])
+ invoiceStatusesCondition = exprBldr.IN(statusId: ["INVOICE_RECEIVED", "INVOICE_IN_PROCESS"])
} else if ("SALES_INVOICE".equals(invoiceTypeId)) {
- invoiceStatusesCondition = exprBldr.IN(statusId, ["INVOICE_SENT", "INVOICE_APPROVED"])
+ invoiceStatusesCondition = exprBldr.IN(statusId: ["INVOICE_SENT", "INVOICE_APPROVED"])
}
expr = exprBldr.AND([expr, invoiceStatusesCondition]);