phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4361 - phpcompta/trunk/include
Date: Tue, 15 Nov 2011 14:47:29 +0100 (CET)

Author: danydb
Date: 2011-11-15 14:47:28 +0100 (Tue, 15 Nov 2011)
New Revision: 4361

Modified:
   phpcompta/trunk/include/class_acc_payment.php
Log:
Mode de paiement

Modified: phpcompta/trunk/include/class_acc_payment.php
===================================================================
--- phpcompta/trunk/include/class_acc_payment.php       2011-11-15 13:46:49 UTC 
(rev 4360)
+++ phpcompta/trunk/include/class_acc_payment.php       2011-11-15 13:47:28 UTC 
(rev 4361)
@@ -234,12 +234,18 @@
         $eth='</th>';
 
         $r='';
-        $r.=$td.$this->mp_lib.$etd;
+        if ( $this->jrn_def_id != '' )
+        {
+            $name=$this->cn->get_value("select jrn_def_name from jrn_def where 
jrn_def_id=$1",
+                    array($this->jrn_def_id));
+        }
+        $r.=td($this->mp_lib);
+        
         if ( $this->mp_fd_id != NULL && $this->mp_fd_id !=0)
         {
             $fiche=new Fiche_Def($this->cn,$this->mp_fd_id);
             $fiche->Get();
-            $r.=$td.$fiche->label.$etd;
+            $r.=td($fiche->label);
         }
         else
             $r.=$td.$etd;
@@ -249,7 +255,7 @@
         {
             $f=new Fiche($this->cn);
             $f->get_by_qcode($this->mp_qcode);
-            $r.=$td.$f->strAttribut(ATTR_DEF_NAME).$etd;
+            $r.=td($f->strAttribut(ATTR_DEF_NAME));
 
         }
         else




reply via email to

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