phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5143 - phpcompta/tags/rel650/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5143 - phpcompta/tags/rel650/include
Date: Sat, 20 Oct 2012 19:13:05 +0200 (CEST)

Author: danydb
Date: 2012-10-20 19:13:04 +0200 (Sat, 20 Oct 2012)
New Revision: 5143

Modified:
   phpcompta/tags/rel650/include/class_anticipation.php
   phpcompta/tags/rel650/include/class_fiche.php
Log:
#754  Les totaux dans Pr?\195?\169visions 
#753  Les totaux dans FOURNISSEUR, CLIENT et ADMINISTRATION incorrectes 

Modified: phpcompta/tags/rel650/include/class_anticipation.php
===================================================================
--- phpcompta/tags/rel650/include/class_anticipation.php        2012-10-17 
15:54:22 UTC (rev 5142)
+++ phpcompta/tags/rel650/include/class_anticipation.php        2012-10-20 
17:13:04 UTC (rev 5143)
@@ -112,6 +112,7 @@
      */
     public function display()
     {
+               bcscale(4);
         $forecast=new Forecast($this->cn,$this->f_id);
         $forecast->load();
         $str_name=h($forecast->get_parameter('name'));
@@ -342,7 +343,7 @@
         $cat=new Forecast_Cat($this->cn);
         $array=$cat->make_array($this->f_id);
         $periode=new Periode($this->cn);
-        $aPeriode=$this->cn->make_array("select 
p_id,to_char(p_start,'MM.YYYY') as label from parm_periode 
+        $aPeriode=$this->cn->make_array("select 
p_id,to_char(p_start,'MM.YYYY') as label from parm_periode
                                   where p_start >= (select p_start from 
parm_periode where p_id=$str_start)
                                    and p_end <= (select p_end from 
parm_periode where p_id=$str_end)
                                   order by p_start");

Modified: phpcompta/tags/rel650/include/class_fiche.php
===================================================================
--- phpcompta/tags/rel650/include/class_fiche.php       2012-10-17 15:54:22 UTC 
(rev 5142)
+++ phpcompta/tags/rel650/include/class_fiche.php       2012-10-20 17:13:04 UTC 
(rev 5143)
@@ -1488,6 +1488,7 @@
     function Summary($p_search="",$p_action="",$p_sql="",$p_amount=false)
     {
         global $g_user;
+               bcscale(4);
         $str_dossier=dossier::get();
         $p_search=sql_string($p_search);
         $script=$_SERVER['PHP_SELF'];



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



reply via email to

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