svn commit: r1746527 - /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: r1746527 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

Arun Patidar-4
Author: arunpatidar
Date: Thu Jun  2 05:35:59 2016
New Revision: 1746527

URL: http://svn.apache.org/viewvc?rev=1746527&view=rev
Log:
[OFBIZ-7124] Only formatting changes.

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=1746527&r1=1746526&r2=1746527&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 Thu Jun  2 05:35:59 2016
@@ -1120,30 +1120,30 @@ under the License.
                             </or>
                         </condition>
                         <then>
-                    <call-class-method method-name="getInvoiceTotal" class-name="org.ofbiz.accounting.invoice.InvoiceWorker" ret-field="invoiceTotal">
-                        <field field="invoice" type="GenericValue"/>
-                    </call-class-method>
-
-                    <set field="checkInvoice.invoiceId" from="invoice.invoiceId"/>
-                    <call-service service-name="isInvoiceInForeignCurrency" in-map-name="checkInvoice">
-                        <result-to-field result-name="isForeign"/>
-                    </call-service>
-                    <if-compare operator="equals" value="true" field="isForeign">
-                        <if-compare-field operator="equals" field="invoiceTotal" to-field="payment.actualCurrencyAmount">
-                            <if-compare-field operator="equals" field="invoice.currencyUomId" to-field="payment.actualCurrencyUomId">
-                                <set field="invoiceId" from-field="invoice.invoiceId"/>
-                                <set field="amountApplied" from-field="payment.actualCurrencyAmount"/>
-                            </if-compare-field>
-                        </if-compare-field>
-                        <else>
-                            <if-compare-field operator="equals" field="invoiceTotal" to-field="payment.amount">
-                                <if-compare-field operator="equals" field="invoice.currencyUomId" to-field="payment.currencyUomId">
-                                    <set field="invoiceId" from-field="invoice.invoiceId"/>
-                                    <set field="amountApplied" from-field="payment.amount"/>
+                            <call-class-method method-name="getInvoiceTotal" class-name="org.ofbiz.accounting.invoice.InvoiceWorker" ret-field="invoiceTotal">
+                                <field field="invoice" type="GenericValue"/>
+                            </call-class-method>
+        
+                            <set field="checkInvoice.invoiceId" from="invoice.invoiceId"/>
+                            <call-service service-name="isInvoiceInForeignCurrency" in-map-name="checkInvoice">
+                                <result-to-field result-name="isForeign"/>
+                            </call-service>
+                            <if-compare operator="equals" value="true" field="isForeign">
+                                <if-compare-field operator="equals" field="invoiceTotal" to-field="payment.actualCurrencyAmount">
+                                    <if-compare-field operator="equals" field="invoice.currencyUomId" to-field="payment.actualCurrencyUomId">
+                                        <set field="invoiceId" from-field="invoice.invoiceId"/>
+                                        <set field="amountApplied" from-field="payment.actualCurrencyAmount"/>
+                                    </if-compare-field>
                                 </if-compare-field>
-                            </if-compare-field>
-                        </else>
-                    </if-compare>
+                                <else>
+                                    <if-compare-field operator="equals" field="invoiceTotal" to-field="payment.amount">
+                                        <if-compare-field operator="equals" field="invoice.currencyUomId" to-field="payment.currencyUomId">
+                                            <set field="invoiceId" from-field="invoice.invoiceId"/>
+                                            <set field="amountApplied" from-field="payment.amount"/>
+                                        </if-compare-field>
+                                    </if-compare-field>
+                                </else>
+                            </if-compare>
                         </then>
                     </if>
                 </iterate>