Merge branch '3.1' of ssh://git@github.com/Dolibarr/dolibarr.git into 3.1
This commit is contained in:
commit
9b37523062
@ -3584,7 +3584,6 @@ class FactureLigne
|
|||||||
if ($this->date_end) { $sql.= ",date_end='".$this->db->idate($this->date_end)."'"; }
|
if ($this->date_end) { $sql.= ",date_end='".$this->db->idate($this->date_end)."'"; }
|
||||||
else { $sql.=',date_end=null'; }
|
else { $sql.=',date_end=null'; }
|
||||||
$sql.= ",product_type=".$this->product_type;
|
$sql.= ",product_type=".$this->product_type;
|
||||||
$sql.= ",rang='".$this->rang."'";
|
|
||||||
$sql.= ",info_bits='".$this->info_bits."'";
|
$sql.= ",info_bits='".$this->info_bits."'";
|
||||||
if (empty($this->skip_update_total))
|
if (empty($this->skip_update_total))
|
||||||
{
|
{
|
||||||
@ -3595,6 +3594,7 @@ class FactureLigne
|
|||||||
$sql.= ",total_localtax1=".price2num($this->total_localtax1)."";
|
$sql.= ",total_localtax1=".price2num($this->total_localtax1)."";
|
||||||
$sql.= ",total_localtax2=".price2num($this->total_localtax2)."";
|
$sql.= ",total_localtax2=".price2num($this->total_localtax2)."";
|
||||||
$sql.= ",fk_parent_line=".($this->fk_parent_line>0?$this->fk_parent_line:"null");
|
$sql.= ",fk_parent_line=".($this->fk_parent_line>0?$this->fk_parent_line:"null");
|
||||||
|
if (! empty($this->rang)) $sql.= ", rang=".$this->rang;
|
||||||
$sql.= " WHERE rowid = ".$this->rowid;
|
$sql.= " WHERE rowid = ".$this->rowid;
|
||||||
|
|
||||||
dol_syslog("FactureLigne::update sql=".$sql);
|
dol_syslog("FactureLigne::update sql=".$sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user