Author: hansbak
Date: Fri Nov 6 09:03:59 2009
New Revision: 833324
URL: http://svn.apache.org/viewvc?rev=833324&view=rev
Log:
to be applied value on payment application was without tax: OFBIZ-3057
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/payment/ListNotAppliedInvoices.groovy
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/payment/ListNotAppliedInvoices.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/payment/ListNotAppliedInvoices.groovy?rev=833324&r1=833323&r2=833324&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/payment/ListNotAppliedInvoices.groovy
(original)
+++
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/payment/ListNotAppliedInvoices.groovy
Fri Nov 6 09:03:59 2009
@@ -51,7 +51,7 @@
topCond = EntityCondition.makeCondition([partyCond, statusCond, currCond],
EntityOperator.AND);
topCondActual = EntityCondition.makeCondition([partyCond, statusCond,
actualCurrCond], EntityOperator.AND);
-fields = new HashSet(["invoiceId", "currencyUomId", "description",
"invoiceDate"]);
+fields = new HashSet(["invoiceId", , "invoiceTypeId", "currencyUomId",
"description", "invoiceDate"]);
//retrieve invoices for the related parties which have not been (fully)
applied yet and which have the same currency as the payment
invoices = delegator.findList("Invoice", topCond, fields, ["invoiceDate"],
null, false);