Fix: pgsql compatibility
This commit is contained in:
parent
1ad4ad12ac
commit
feb4fa7c72
@ -236,7 +236,7 @@ class Facture extends CommonObject
|
|||||||
$sql.= ", ".$conf->entity;
|
$sql.= ", ".$conf->entity;
|
||||||
$sql.= ", '".$this->type."'";
|
$sql.= ", '".$this->type."'";
|
||||||
$sql.= ", '".$socid."'";
|
$sql.= ", '".$socid."'";
|
||||||
$sql.= ", ".$this->db->idate($now);
|
$sql.= ", '".$this->db->idate($now)."'";
|
||||||
$sql.= ", '".$totalht."'";
|
$sql.= ", '".$totalht."'";
|
||||||
$sql.= ",".($this->remise_absolue>0?$this->remise_absolue:'NULL');
|
$sql.= ",".($this->remise_absolue>0?$this->remise_absolue:'NULL');
|
||||||
$sql.= ",".($this->remise_percent>0?$this->remise_percent:'NULL');
|
$sql.= ",".($this->remise_percent>0?$this->remise_percent:'NULL');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user