[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();
}
- [Noalyss-commit] [noalyss] 60/218: Security fix : f_id is a number, (continued)
- [Noalyss-commit] [noalyss] 60/218: Security fix : f_id is a number, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 57/218: Security : direct injection, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 63/218: CFGLED : security fix : remove $_REQUEST, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 64/218: Merge master, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 72/218: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 83/218: adapt to 7.2 ,init, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 86/218: Currency : show the currency of the ledger when entering info, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 89/218: adapt to 7.2 ,array, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 90/218: Code cleaning : remove SQL with hardcoded value, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 109/218: Indentation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 121/218: Currency : error when displaying, add 4 due to a mistype instruction,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 126/218: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 117/218: Currency : cosmetic display history : show only the value of the card/accounting, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 116/218: Database upgrade 131, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 120/218: Currency : send the saldo for financial ledger, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 135/218: Translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 123/218: Currency = payment automatic for Sales and Purchases, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 131/218: Translation + use of httpInput, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 124/218: Currency : when we pay at the same time as we record the sale / purchase , either the bank is in euro (default currency) or the sale/purchase has the same currency than the financial ledger, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 138/218: Translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 139/218: Translation, Dany De Bontridder, 2019/09/12