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
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev