You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2013/02/01 08:58:19 UTC

svn commit: r1441331 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java

Author: mor
Date: Fri Feb  1 07:58:19 2013
New Revision: 1441331

URL: http://svn.apache.org/viewvc?rev=1441331&view=rev
Log:
Only formatting changes.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java?rev=1441331&r1=1441330&r2=1441331&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java Fri Feb  1 07:58:19 2013
@@ -757,12 +757,12 @@ public class OrderReturnServices {
                 if (productStore != null && productStore.getString("storeCreditAccountEnumId") != null) {
                     Debug.logWarning("You have entered both financial account and billing account for store credit. Based on the configuration on product store, only one of them will be selected.", module);
                     if ("BILLING_ACCOUNT".equals(productStore.getString("storeCreditAccountEnumId"))) {
-                    Debug.logWarning("Default setting on product store is billing account. Store credit will goes to billing account [" + billingAccountId + "]", module);
-                    finAccountId = null;
-                } else {
-                    billingAccountId = null;
-                    Debug.logWarning("Default setting on product store is financial account. Store credit will goes to financial account [" + finAccountId + "]", module);
-                }
+                        Debug.logWarning("Default setting on product store is billing account. Store credit will goes to billing account [" + billingAccountId + "]", module);
+                        finAccountId = null;
+                    } else {
+                        billingAccountId = null;
+                        Debug.logWarning("Default setting on product store is financial account. Store credit will goes to financial account [" + finAccountId + "]", module);
+                   }
                 }
             }