Fixed: pgsql to make order
This commit is contained in:
parent
ef5035b349
commit
38ba6ac75b
@ -828,7 +828,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
$result = 0;
|
$result = 0;
|
||||||
if ($user->rights->fournisseur->commande->commander)
|
if ($user->rights->fournisseur->commande->commander)
|
||||||
{
|
{
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."commande_fournisseur SET fk_statut = 3, fk_input_method=".$methode.",date_commande=".$this->db->idate("$date");
|
$sql = "UPDATE ".MAIN_DB_PREFIX."commande_fournisseur SET fk_statut = 3, fk_input_method=".$methode.", date_commande='".$this->db->idate($date)."'";
|
||||||
$sql .= " WHERE rowid = ".$this->id;
|
$sql .= " WHERE rowid = ".$this->id;
|
||||||
|
|
||||||
dol_syslog(get_class($this)."::commande", LOG_DEBUG);
|
dol_syslog(get_class($this)."::commande", LOG_DEBUG);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user