[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 132/173: Bug solde is rounded and doesn't hav
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 132/173: Bug solde is rounded and doesn't have decimal |
Date: |
Mon, 22 Mar 2021 12:59:10 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4165b1c0725605e7ac633c5ae2a71ec8e22f768a
Author: Dany De Bontridder <dany@alchimerys.be>
AuthorDate: Sun Jan 19 21:34:10 2020 +0100
Bug solde is rounded and doesn't have decimal
---
include/class/acc_account_ledger.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/acc_account_ledger.class.php
b/include/class/acc_account_ledger.class.php
index e02e188..020e18d 100644
--- a/include/class/acc_account_ledger.class.php
+++ b/include/class/acc_account_ledger.class.php
@@ -335,7 +335,7 @@ class Acc_Account_Ledger
return array('debit'=>$r['sum_deb'],
'credit'=>$r['sum_cred'],
- 'solde'=>abs(bcsub($r['sum_deb'],$r['sum_cred'])));
+ 'solde'=>abs(bcsub($r['sum_deb'],$r['sum_cred'],2)));
}
/*!
* \brief isTva tell is a poste is used for VAT
- [Noalyss-commit] [noalyss] 104/173: Improve PHPUNIT Test for phpunit7 and phpunit8, (continued)
- [Noalyss-commit] [noalyss] 104/173: Improve PHPUNIT Test for phpunit7 and phpunit8, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 105/173: documentation + traduction, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 117/173: Acc_Ledger : problem with acc_ledger::load(), Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 125/173: Merge branch 'dev-7200' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 130/173: fixup! Merge branch 'dev-7200' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 99/173: Merge branch 'Cosmetic-7100' into 'entreprise', Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 100/173: Merge branch 'entreprise' of gitlab.noalyss.eu:noalyss/noalyss into entreprise * index.css logo size, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 120/173: test : compute min et max periode, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 123/173: Improve Scenario Test, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 129/173: Merge branch 'dev-7200' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 132/173: Bug solde is rounded and doesn't have decimal,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 126/173: Use connection and not global, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 128/173: Merge branch 'dev7112' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 140/173: Cleanup + new logo, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 92/173: Merge branch 'accept7100' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 95/173: Merge branch 'accept7100' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 97/173: Merge branch 'accept7100' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 102/173: Task #0001698: Problème affichage historique fiches, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 141/173: Merge commit '3e075a0a1aa8b6e42c458571ef0380a9c38f18fa' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 106/173: Merge branch 'accept7100' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 108/173: Bug with p_jrn, Dany De Bontridder, 2021/03/22