Author: danydb
Date: 2013-05-07 01:21:37 +0200 (Tue, 07 May 2013)
New Revision: 5219

Modified:
   phpcompta/trunk/include/fiche.inc.php
Log:
Bug : CARD when nothing then give an error : sum_solde not set

Modified: phpcompta/trunk/include/fiche.inc.php
===================================================================
--- phpcompta/trunk/include/fiche.inc.php       2013-05-06 20:17:06 UTC (rev 
5218)
+++ phpcompta/trunk/include/fiche.inc.php       2013-05-06 23:21:37 UTC (rev 
5219)
@@ -308,7 +308,7 @@
                                th('Solde', 'style="text-align:right"') .
                                th('D/C', 'style="text-align:right"')
                );
-               $idx = 0;$sum_deb=0;$sum_cred=0;bcscale(4);
+               $idx = 0;$sum_deb=0;$sum_cred=0;$sum_solde=0;bcscale(4);
                for ($i = 0; $i < Database::num_row($ret); $i++)
                {
                        $filter = " (j_date >= to_date('" . $_REQUEST['start'] 
. "','DD.MM.YYYY') " .



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu

_______________________________________________
Phpcompta  est un logiciel libre de comptabilit&#233; en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to