Fix: pb creation propal
This commit is contained in:
parent
f84c99655e
commit
d1ca8e0966
@ -504,8 +504,9 @@ class Propal extends CommonObject
|
||||
$sql.= "'".addslashes($this->note_public)."',";
|
||||
$sql.= "'".$this->modelpdf."',".$this->db->idate($this->fin_validite).",";
|
||||
$sql.= " ".$this->cond_reglement_id.", ".$this->mode_reglement_id.",";
|
||||
if ($conf->global->PROPALE_ADD_SHIPPING_DATE) $sql.= " ".$this->db->idate($this->date_livraison).",";
|
||||
$sql.= "'".addslashes($this->ref_client)."')";
|
||||
$sql.= "'".addslashes($this->ref_client)."'";
|
||||
if ($conf->global->PROPALE_ADD_SHIPPING_DATE) $sql.= ", ".$this->db->idate($this->date_livraison);
|
||||
$sql.= ")";
|
||||
|
||||
$resql=$this->db->query($sql);
|
||||
if ($resql)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user