Author: danydb
Date: 2012-01-05 17:52:46 +0100 (Thu, 05 Jan 2012)
New Revision: 260

Modified:
   trunk/coprop/include/class_budget.php
   trunk/coprop/include/template/bud_detail.php
Log:
bug fiche depense

Modified: trunk/coprop/include/class_budget.php
===================================================================
--- trunk/coprop/include/class_budget.php       2012-01-05 16:28:38 UTC (rev 
259)
+++ trunk/coprop/include/class_budget.php       2012-01-05 16:52:46 UTC (rev 
260)
@@ -32,7 +32,8 @@
                 join vw_fiche_attr using (f_id)
                 where b_id=$1",array($this->b_id));
             $a_input=array();
-            $fiche_dep=$cn->make_list("select fd_id from fiche_def where 
frd_id=6");
+            $fiche_dep=$cn->make_list("select fd_id from fiche_def where 
frd_id=2");
+           var_dump($fiche_dep);
             $a_key=$cn->make_array(" select cr_id,cr_name from 
coprop.clef_repartition order by cr_name");
             for ($i=0;$i<count($array);$i++)
             {
@@ -78,9 +79,10 @@
                 $a_input[$i]["amount"]=$amount->input();
                 $a_input[$i]["hidden"]=$hidden;
                 $a_input[$i]["card"]=$card->input().$f_card_bt;
-                $a_input[$i]["card_label"]=$card_label->input();
+                $a_input[$i]["card_label"]=$f_card_label;
                 
                 $a_input[$i]['key']=$ikey->input();
+               var_dump($card);
                 
             }
             require_once 'template/bud_detail.php';

Modified: trunk/coprop/include/template/bud_detail.php
===================================================================
--- trunk/coprop/include/template/bud_detail.php        2012-01-05 16:28:38 UTC 
(rev 259)
+++ trunk/coprop/include/template/bud_detail.php        2012-01-05 16:52:46 UTC 
(rev 260)
@@ -7,6 +7,7 @@
 <table class="result">
     <tr>
         <th>Fiche dépense</th>
+        <th>Label</th>
         <th>Clef de répartition </th>
         <th>Montant</th>
     </tr>


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to