phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4555 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4555 - phpcompta/trunk/include
Date: Sun, 4 Dec 2011 22:23:24 +0100 (CET)

Author: danydb
Date: 2011-12-04 22:23:23 +0100 (Sun, 04 Dec 2011)
New Revision: 4555

Modified:
   phpcompta/trunk/include/class_acc_ledger.php
Log:
montant toujours en absolu

Modified: phpcompta/trunk/include/class_acc_ledger.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger.php        2011-12-04 06:07:02 UTC 
(rev 4554)
+++ phpcompta/trunk/include/class_acc_ledger.php        2011-12-04 21:23:23 UTC 
(rev 4555)
@@ -2519,8 +2519,8 @@
         }
 
         /* format the number */
-        $amount_min=toNumber($amount_min);
-        $amount_max=toNumber($amount_max);
+        $amount_min=abs(toNumber($amount_min));
+        $amount_max=abs(toNumber($amount_max));
         if ( $amount_min > 0 && isNumber($amount_min) )
         {
             $fil_amount=$and.' jr_montant >=' .$amount_min;




reply via email to

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