diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index a9960de5e2662d41bcd7e89736cb42aab6ccd593..8457cce0b1bdefb6f35ef0f93ff82751bc5d9417 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -2196,7 +2196,7 @@ class Commande extends CommonObject */ function info($id) { - $sql = 'SELECT c.rowid, date_creation as datec,'; + $sql = 'SELECT c.rowid, date_creation as datec, tms as datem,'; $sql.= ' date_valid as datev,'; $sql.= ' date_cloture as datecloture,'; $sql.= ' fk_user_author, fk_user_valid, fk_user_cloture'; @@ -2231,6 +2231,7 @@ class Commande extends CommonObject } $this->date_creation = $this->db->jdate($obj->datec); + $this->date_modification = $this->db->jdate($obj->datem); $this->date_validation = $this->db->jdate($obj->datev); $this->date_cloture = $this->db->jdate($obj->datecloture); }