Skip to content
Snippets Groups Projects
Commit f79b1d06 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4519 from FHenry/3.9

FIX : set column paid on expense report when expense is paid
parents e2d99895 72e8680f
No related branches found
No related tags found
No related merge requests found
......@@ -370,7 +370,7 @@ class ExpenseReport extends CommonObject
function set_paid($id, $fuser)
{
$sql = "UPDATE ".MAIN_DB_PREFIX."expensereport";
$sql.= " SET fk_statut = 6";
$sql.= " SET fk_statut = 6, paid=1";
$sql.= " WHERE rowid = ".$id." AND fk_statut = 5";
dol_syslog(get_class($this)."::set_paid sql=".$sql, LOG_DEBUG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment