2
0
forked from Wavyzz/dolibarr

Standardize database: field ref of warehouse was renamed label -> ref

This commit is contained in:
Laurent Destailleur
2017-11-24 15:27:00 +01:00
parent 3db52b5f9e
commit 9f235e1ff6
17 changed files with 189 additions and 191 deletions

View File

@@ -768,7 +768,7 @@ class Commande extends CommonOrder
$sql.= ", multicurrency_code";
$sql.= ", multicurrency_tx";
$sql.= ")";
$sql.= " VALUES ('(PROV)',".$this->socid.", '".$this->db->idate($now)."', ".$user->id;
$sql.= " VALUES ('(PROV)', ".$this->socid.", '".$this->db->idate($now)."', ".$user->id;
$sql.= ", ".($this->fk_project>0?$this->fk_project:"null");
$sql.= ", '".$this->db->idate($date)."'";
$sql.= ", ".($this->source>=0 && $this->source != '' ?$this->db->escape($this->source):'null');