Merge pull request #8477 from ggg44473/7.0

Fix wrong approve time in expense report
This commit is contained in:
Laurent Destailleur 2018-03-29 13:40:33 +02:00 committed by GitHub
commit 839ebb428b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1246,7 +1246,7 @@ class ExpenseReport extends CommonObject
$error = 0; $error = 0;
// date approval // date approval
$this->date_approve = $this->db->idate($now); $this->date_approve = $now;
if ($this->fk_statut != 5) if ($this->fk_statut != 5)
{ {
$this->db->begin(); $this->db->begin();