Skip to content

Commit

Permalink
Merge pull request #4519 from FHenry/3.9
Browse files Browse the repository at this point in the history
FIX : set column paid on expense report when expense is paid
  • Loading branch information
eldy committed Jan 30, 2016
2 parents e2d9989 + 72e8680 commit f79b1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/expensereport/class/expensereport.class.php
Expand Up @@ -370,7 +370,7 @@ function fetch($id, $ref='')
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);
Expand Down

0 comments on commit f79b1d0

Please sign in to comment.