noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 121/218: Currency : error when displaying, ad


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 121/218: Currency : error when displaying, add 4 due to a mistype instruction
Date: Thu, 12 Sep 2019 15:58:52 -0400 (EDT)

sparkyx pushed a commit to branch entreprise
in repository noalyss.

commit 62bce277f2ee50731f6a3d53728f3a65b5021c37
Author: Dany De Bontridder <address@hidden>
Date:   Sun Dec 9 17:20:21 2018 +0100

    Currency : error when displaying, add 4 due to a mistype instruction
---
 include/class/acc_account_ledger.class.php | 2 +-
 include/class/fiche.class.php              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class/acc_account_ledger.class.php 
b/include/class/acc_account_ledger.class.php
index 57e9ee7..640a4b1 100644
--- a/include/class/acc_account_ledger.class.php
+++ b/include/class/acc_account_ledger.class.php
@@ -479,7 +479,7 @@ class Acc_Account_Ledger
             if ( $op['currency_id'] > 0 && $op['oc_amount'] != 0)
             {
              echo   td($op['cr_code_iso']).
-                    
td(nbm(bcadd($op['oc_amount'],4)),'style="text-align:right;padding-left:10px;"');
+                    
td(nbm($op['oc_amount'],4),'style="text-align:right;padding-left:10px;"');
             } else {
                 echo td().td();
             }
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index d103100..fc02a9e 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -1542,7 +1542,7 @@ class Fiche
             if ( $op['currency_id'] > 0 && $op['oc_amount'] != 0)
             {
              echo   td($op['cr_code_iso']).
-                    
td(nbm(bcadd($op['oc_amount'],4)),'style="text-align:right;padding-left:10px;"');
+                    
td(nbm($op['oc_amount'],4),'style="text-align:right;padding-left:10px;"');
             } else {
                 echo td().td();
             }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]