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;
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev