[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 121/238: Currency : error when displaying, ad
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 121/238: Currency : error when displaying, add 4 due to a mistype instruction |
Date: |
Sat, 26 Oct 2019 04:40:49 -0400 (EDT) |
sparkyx pushed a commit to annotated tag rel7110
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] 100/238: Currency : financial use the rate depending of the operation date, (continued)
- [Noalyss-commit] [noalyss] 100/238: Currency : financial use the rate depending of the operation date, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 108/238: acc_ledger_fin . translation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 99/238: Modify quant_fin , we add a column j_id to have a fk to jrnx and operation_currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 109/238: Indentation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 116/238: Database upgrade 131, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 111/238: Currency : sales in listing mode, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 115/238: Currency : ledger printing for FIN + detail operation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 127/238: Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 118/238: Currency : export CSV history for card and accounting, fix bug with unneeded oc_vat_amount + add the currency rate, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 114/238: Currency : purchase oneline + extended html and csv, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 121/238: Currency : error when displaying, add 4 due to a mistype instruction,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 128/238: Missing bracket, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 136/238: Translation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 131/238: Translation + use of httpInput, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 148/238: remove commented code, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 125/238: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 170/238: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 129/238: Esthetic with button "Add accounting", Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 144/238: Currency : meaning 1 EUR is worth x currency for Sales, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 132/238: Translation, Dany De Bontridder, 2019/10/26
- [Noalyss-commit] [noalyss] 120/238: Currency : send the saldo for financial ledger, Dany De Bontridder, 2019/10/26