[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/46: Bug solde is rounded and doesn't have
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/46: Bug solde is rounded and doesn't have decimal |
Date: |
Mon, 4 May 2020 13:38:41 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3e30658de8d8ac6cab3a066892ff5d06974b6ba0
Author: Dany De Bontridder <address@hidden>
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 3cc7575..18c58e1 100644
--- a/include/class/acc_account_ledger.class.php
+++ b/include/class/acc_account_ledger.class.php
@@ -325,7 +325,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] branch master updated (f306130 -> aa78d59), Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 01/46: Record exception, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 04/46: Comptability PHP7.2, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 05/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 02/46: Bug solde is rounded and doesn't have decimal,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/46: Test Acc_Account, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 06/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 12/46: Minimum version : PHP 7.0 and PostgreSQL 9.5, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 07/46: phpunit : use plain text for restoring test database, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 09/46: search : add placeholder, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 10/46: Bug : customer.inc.php with http_input::request Correct : Contact.inc.php remove direct use of $_GET, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 11/46: New : Icon_Action::icon_onoff : display on or off, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 08/46: Bug : filter_list does not filter simple list, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 13/46: Noalyss_CSV : add setter and getter, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 16/46: remove blank line, Dany De Bontridder, 2020/05/04