You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2006/12/13 02:13:12 UTC
svn commit: r486443 -
/incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/BillingAccountWorker.java
Author: sichen
Date: Tue Dec 12 17:13:11 2006
New Revision: 486443
URL: http://svn.apache.org/viewvc?view=rev&rev=486443
Log:
misspelling of invoice status
Modified:
incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/BillingAccountWorker.java
Modified: incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/BillingAccountWorker.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/BillingAccountWorker.java?view=diff&rev=486443&r1=486442&r2=486443
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/BillingAccountWorker.java (original)
+++ incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/payment/BillingAccountWorker.java Tue Dec 12 17:13:11 2006
@@ -209,7 +209,7 @@
GenericValue invoice = paymentAppl.getRelatedOne("Invoice");
if (invoice != null) {
// make sure the invoice has not been canceled and it is not a "Customer return invoice"
- if (!"CUST_RTN_INVOICE".equals(invoice.getString("invoiceTypeId")) && !"INVOICE_CANCELED".equals(invoice.getString("statusId"))) {
+ if (!"CUST_RTN_INVOICE".equals(invoice.getString("invoiceTypeId")) && !"INVOICE_CANCELLED".equals(invoice.getString("statusId"))) {
balance = balance.add(amountApplied);
}
} else {