Merge pull request #18937 from PyroShape/142

Fix date format into supplier order info tab
This commit is contained in:
Laurent Destailleur 2021-10-11 11:04:39 +02:00 committed by GitHub
commit c9972b9eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2927,11 +2927,11 @@ class CommandeFournisseur extends CommonOrder
$this->user_approve_id2 = $obj->fk_user_approve2;
}
$this->date_creation = $this->db->idate($obj->datec);
$this->date_modification = $this->db->idate($obj->datem);
$this->date_approve = $this->db->idate($obj->datea);
$this->date_approve2 = $this->db->idate($obj->datea2);
$this->date_validation = $this->db->idate($obj->date_validation);
$this->date_creation = $this->db->jdate($obj->datec);
$this->date_modification = $this->db->jdate($obj->datem);
$this->date_approve = $this->db->jdate($obj->datea);
$this->date_approve2 = $this->db->jdate($obj->datea2);
$this->date_validation = $this->db->jdate($obj->date_validation);
}
$this->db->free($result);
} else {