details:   https://code.openbravo.com/erp/devel/pi/rev/8bcb8bdc17ef
changeset: 26263:8bcb8bdc17ef
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Wed Mar 25 18:08:08 2015 +0100
summary:   Related to issue 19728: Do more JS code formatting

diffstat:

 
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r edeb492729a6 -r 8bcb8bdc17ef 
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
--- 
a/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
    Wed Mar 25 18:01:18 2015 +0100
+++ 
b/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
    Wed Mar 25 18:08:08 2015 +0100
@@ -176,7 +176,7 @@
     isShown = data.isPayIsMulticurrency && currencyId !== data.currencyToId && 
currencyId !== undefined;
     if (data.isWrongFinancialAccount && trxtype === "") {
       form.getItem('fin_financial_account_id').setValue('');
-    } else if (!data.isWrongFinancialAccount){
+    } else if (!data.isWrongFinancialAccount) {
       if (!form.getItem('c_currency_to_id').valueMap) {
         form.getItem('c_currency_to_id').valueMap = {};
       }
@@ -1070,7 +1070,7 @@
       amountInvOrds = new 
BigDecimal(String(view.theForm.getItem('amount_inv_ords').getValue() || 0)),
       total = new BigDecimal(String(view.theForm.getItem('total').getValue() 
|| 0)),
       actualPayment = new 
BigDecimal(String(view.theForm.getItem('actual_payment').getValue() || 0)),
-      overpaymentField= view.theForm.getItem('overpayment_action'),
+      overpaymentField = view.theForm.getItem('overpayment_action'),
       overpaymentAction = overpaymentField.getValue(),
       creditTotalItem = new 
BigDecimal(String(view.theForm.getItem('used_credit').getValue() || 0)),
       document = (view.theForm.getItem('trxtype')) ? 
view.theForm.getItem('trxtype').getValue() : "",

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to