phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4976 - phpcompta/trunk/include
Date: Fri, 22 Jun 2012 16:03:09 +0200 (CEST)

Author: danydb
Date: 2012-06-22 16:03:08 +0200 (Fri, 22 Jun 2012)
New Revision: 4976

Modified:
   phpcompta/trunk/include/class_fiche.php
Log:
0000654: Ajout de la cat?\195?\169gorie de la fiche dans les d?\195?\169tails

Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php     2012-06-22 11:42:22 UTC (rev 
4975)
+++ phpcompta/trunk/include/class_fiche.php     2012-06-22 14:03:08 UTC (rev 
4976)
@@ -423,7 +423,8 @@
         $f=new Fiche_Def($this->cn,$p_fiche_def);
         $f->Get();
         $array=$f->getAttribut();
-        $r='<table style="width:98%;margin:1%">';
+        $r=h2($f->label,"");
+        $r.='<table style="width:98%;margin:1%">';
         foreach ($array as $attr)
         {
             $table=0;
@@ -561,8 +562,8 @@
                /* show card type here */
                $type_card = $this->cn->get_value('select fd_label from 
fiche_def join fiche using (fd_id) where f_id=$1', array($this->id));
                $ret = "";
-               $ret.=h2( $type_card, 'style="display:inline"');
-               $ret.='<span style="font-weight:bolder"> id :' . $this->id . 
"</span>";
+               $ret.=h2( "Catégorie ".$type_card, 'style="display:inline"');
+               $ret.='<span style="font-weight:bolder"> id fiche:' . $this->id 
. "</span>";
                $ret.="<table style=\"width:98%;margin:1%\">";
                if (empty($attr))
                {



---
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]