Merge pull request #8477 from ggg44473/7.0
Fix wrong approve time in expense report
This commit is contained in:
commit
839ebb428b
@ -1246,7 +1246,7 @@ class ExpenseReport extends CommonObject
|
||||
$error = 0;
|
||||
|
||||
// date approval
|
||||
$this->date_approve = $this->db->idate($now);
|
||||
$this->date_approve = $now;
|
||||
if ($this->fk_statut != 5)
|
||||
{
|
||||
$this->db->begin();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user