noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 03/05: Documentation


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/05: Documentation
Date: Sat, 15 Nov 2014 23:24:40 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 493009533d64070317a0bd78d4ea83a5d957633e
Author: Dany De Bontridder <address@hidden>
Date:   Sat Nov 15 19:53:47 2014 +0100

    Documentation
---
 include/class_acc_bilan.php |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/class_acc_bilan.php b/include/class_acc_bilan.php
index a54dce2..9bb0b48 100644
--- a/include/class_acc_bilan.php
+++ b/include/class_acc_bilan.php
@@ -86,10 +86,11 @@ class Acc_Bilan
         $r.= '</TABLE>';
         return $r;
     }
-    /*!\brief check and warn if an accound has the wrong saldo
-     * \param $p_message legend of the fieldset
-     * \param $p_type type of the Acccount ACT actif, ACTINV...
-     * \param $p_type the saldo must debit or credit
+    /**
+     * @brief check and warn if an accound has the wrong saldo
+     * @param $p_message legend of the fieldset
+     * @param $p_type type of the Acccount ACT actif, ACTINV...
+     * @param $p_type the saldo must debit or credit
      */
     private function warning($p_message,$p_type,$p_deb)
     {
@@ -111,7 +112,7 @@ class Acc_Bilan
             $obj->id=$line['pcm_val'];
 
             $solde=$obj->get_solde_detail($sql);
-            $solde_signed=$solde['debit']-$solde['credit'];
+            $solde_signed=bcsub($solde['debit'],$solde['credit']);
 
             if (
                 ($solde_signed < 0 && $p_deb == 'D' ) ||



reply via email to

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