Skip to content

Commit

Permalink
Update commande.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 10, 2018
1 parent c0d6aee commit bda142d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/commande/class/commande.class.php
Expand Up @@ -4065,7 +4065,7 @@ function insert($user=null, $notrigger=0)
$sql.= ' '.(! empty($this->fk_product)?$this->fk_product:"null").',';
$sql.= " '".$this->db->escape($this->product_type)."',";
$sql.= " '".price2num($this->remise_percent)."',";
$sql.= " ".price2num($this->subprice).",";
$sql.= " ".(price2num($this->subprice)!==''?price2num($this->subprice):"null").",";
$sql.= " ".($this->price!=''?"'".price2num($this->price)."'":"null").",";
$sql.= " '".price2num($this->remise)."',";
$sql.= ' '.(! empty($this->fk_remise_except)?$this->fk_remise_except:"null").',';
Expand Down

0 comments on commit bda142d

Please sign in to comment.