Fixed Contrat::fetch not setting Contrat::date_creation and improved class doc
This commit is contained in:
parent
cd468b65fd
commit
52b8bb350e
@ -140,8 +140,13 @@ class Contrat extends CommonObject
|
|||||||
var $note_public;
|
var $note_public;
|
||||||
var $modelpdf;
|
var $modelpdf;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use fk_project instead
|
||||||
|
*/
|
||||||
var $fk_projet;
|
var $fk_projet;
|
||||||
|
|
||||||
|
public $fk_project;
|
||||||
|
|
||||||
var $extraparams=array();
|
var $extraparams=array();
|
||||||
|
|
||||||
var $lines=array();
|
var $lines=array();
|
||||||
@ -508,7 +513,9 @@ class Contrat extends CommonObject
|
|||||||
$this->ref_ext = $result["ref_ext"];
|
$this->ref_ext = $result["ref_ext"];
|
||||||
$this->statut = $result["statut"];
|
$this->statut = $result["statut"];
|
||||||
$this->mise_en_service = $this->db->jdate($result["datemise"]);
|
$this->mise_en_service = $this->db->jdate($result["datemise"]);
|
||||||
|
|
||||||
$this->date_contrat = $this->db->jdate($result["datecontrat"]);
|
$this->date_contrat = $this->db->jdate($result["datecontrat"]);
|
||||||
|
$this->date_creation = $this->db->jdate($result["datecontrat"]);
|
||||||
|
|
||||||
$this->user_author_id = $result["fk_user_author"];
|
$this->user_author_id = $result["fk_user_author"];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user