[ task #176 ] Allow to use ODT templates for prososal like it's done for

invoices. Working with odt template
This commit is contained in:
simnandez 2012-01-05 09:48:28 +01:00
parent 37c7d2b102
commit 5ad9d7cb61
2 changed files with 4 additions and 2 deletions

View File

@ -1009,8 +1009,10 @@ class Propal extends CommonObject
$this->statut = $obj->fk_statut;
$this->statut_libelle = $obj->statut_label;
$this->datec = $this->db->jdate($obj->datec);
$this->datev = $this->db->jdate($obj->datev);
$this->datec = $this->db->jdate($obj->datec); //TODO obsolete
$this->datev = $this->db->jdate($obj->datev); //TODO obsolete
$this->date_creation = $this->db->jdate($obj->datec); //Creation date
$this->date_validation = $this->db->jdate($obj->datev); //Validation date
$this->date = $this->db->jdate($obj->dp); // Proposal date
$this->datep = $this->db->jdate($obj->dp);
$this->fin_validite = $this->db->jdate($obj->dfv);