[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5189 - phpcompta/tags/rel650/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5189 - phpcompta/tags/rel650/include |
Date: |
Wed, 20 Mar 2013 13:57:03 +0100 (CET) |
Author: danydb
Date: 2013-03-20 13:57:01 +0100 (Wed, 20 Mar 2013)
New Revision: 5189
Modified:
phpcompta/tags/rel650/include/class_acc_payment.php
Log:
code cleaning : remove function Acc_Payment::row
Modified: phpcompta/tags/rel650/include/class_acc_payment.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_payment.php 2013-03-17 00:24:05 UTC
(rev 5188)
+++ phpcompta/tags/rel650/include/class_acc_payment.php 2013-03-20 12:57:01 UTC
(rev 5189)
@@ -225,50 +225,6 @@
}
return $ret;
}
- /**
- address@hidden
- * @return string
- */
- public function row_deprecated()
- {
-
//---------------------------------------------------------------------------
- // Common variable
- $td='<TD>';
- $etd='</td>';
- $tr='<tr>';
- $etr='</tr>';
- $th='<th>';
- $eth='</th>';
-
- $r='';
- 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);
- }
- else
- $r.=$td.$etd;
- $jrn=new Acc_Ledger($this->cn,$this->mp_jrn_def_id);
- $r.=$td.$jrn->get_name().$etd;
- if ( strlen(trim($this->mp_qcode)) != 0 )
- {
- $f=new Fiche($this->cn);
- $f->get_by_qcode($this->mp_qcode);
- $r.=td($f->strAttribut(ATTR_DEF_NAME));
-
- }
- else
- $r.=$td.$etd;
- return $r;
- }
/*!\brief return a string with a form (into a table)
*\param none
*\return a html string
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5189 - phpcompta/tags/rel650/include,
phpcompta-dev <=