noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/10: Great Ledger Analytic : credit is posi


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/10: Great Ledger Analytic : credit is positif and debit is negatif
Date: Tue, 30 Dec 2014 10:31:28 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 73c379ed34d76aed8ac18172358a75e4faed86da
Author: Dany De Bontridder <address@hidden>
Date:   Tue Dec 23 18:11:07 2014 +0100

    Great Ledger Analytic : credit is positif and debit is negatif
---
 include/class_anc_grandlivre.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class_anc_grandlivre.php b/include/class_anc_grandlivre.php
index 0fc0bb4..e079249 100644
--- a/include/class_anc_grandlivre.php
+++ b/include/class_anc_grandlivre.php
@@ -212,7 +212,7 @@ class Anc_GrandLivre extends Anc_Print
             $amount_cred = ($row['oa_debit'] == 'f') ? $row['oa_amount'] : 0;
             $tot_deb = bcadd($tot_deb, $amount_deb);
             $tot_cred = bcadd($tot_cred, $amount_cred);
-            $tot_solde=bcsub($tot_deb,$tot_cred);
+            $tot_solde=bcsub($tot_cred,$tot_deb);
 
             /*
              * Checked button



reply via email to

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