Author: jacopoc
Date: Sun Jun 3 09:11:03 2007
New Revision: 543924
URL:
http://svn.apache.org/viewvc?view=rev&rev=543924Log:
Removed comment that is no more valid after recent refactoring of billing accounts (rev. 543923).
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?view=diff&rev=543924&r1=543923&r2=543924==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Sun Jun 3 09:11:03 2007
@@ -146,10 +146,7 @@
<log level="warning" message="Create Payment Application: Amount to apply [${paymentAppl.amountApplied}] is greater than the outstanding amount [${notApplied}] of the invoice [${invoice.invoiceId}]. Creating Payment Application for outstanding amount [${notApplied}] instead."/>
<set field="paymentAppl.amountApplied" from-field="notApplied"/>
</if-compare-field>
-
- <!-- this is intentionally commented out because auto-filling billingAccountId from invoice to payment application will cause double-counting of
- amount charged to billing accounts if there are multiple payment methods (ie, billing account + credit card)
- see
https://issues.apache.org/jira/browse/OFBIZ-682 -->
+
<if-not-empty field-name="invoice.billingAccountId">
<set field="paymentAppl.billingAccountId" from-field="invoice.billingAccountId"/>
</if-not-empty>