svn commit: r669842 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r669842 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

jacopoc
Author: jacopoc
Date: Fri Jun 20 03:01:30 2008
New Revision: 669842

URL: http://svn.apache.org/viewvc?rev=669842&view=rev
Log:
Fixes for errors in the service that computes payment due dates for an invoice.

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?rev=669842&r1=669841&r2=669842&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Fri Jun 20 03:01:30 2008
@@ -295,7 +295,6 @@
                     </calculate>
                 <else>
                     <set field="invoicePaymentInfo.paidAmount" from-field="remainingAppliedAmount" type="BigDecimal"/>
-                    <set field="" from-field="remainingAppliedAmount" type="BigDecimal"/>
                     <set field="remainingAppliedAmount" value="0.0" type="BigDecimal"/>
                 </else>
                 </if-compare-field>
@@ -304,6 +303,7 @@
                         <calcop field-name="invoicePaymentInfo.paidAmount" operator="get"/>
                     </calcop>
                 </calculate>
+        <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
             </if-compare>
         </iterate>
         <if>
@@ -343,9 +343,9 @@
                         <calcop field-name="invoicePaymentInfo.paidAmount" operator="get"/>
                     </calcop>
                 </calculate>
+                <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
             </then>
         </if>
-        <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
         <field-to-result field-name="invoicePaymentInfoList" result-name="invoicePaymentInfoList"/>
     </simple-method>