Update facture.class.php

This commit is contained in:
ptibogxiv 2019-09-29 15:46:28 +02:00 committed by GitHub
parent 2e8b99606e
commit 4177c72ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2201,7 +2201,7 @@ class Facture extends CommonInvoice
$sql = 'UPDATE '.MAIN_DB_PREFIX.'facture';
$sql.= ' SET paye=0, fk_statut='.self::STATUS_VALIDATED.', close_code=null, close_note=null';
$sql.= ' date_closing as dateclosing,';
$sql.= ' fk_user_author, fk_user_valid, fk_user_cloture';
$sql.= ' fk_user_author, fk_user_valid, fk_user_closing';
$sql.= ' WHERE rowid = '.$this->id;
dol_syslog(get_class($this)."::set_unpaid", LOG_DEBUG);