Fix: problem for view normal product/service

This commit is contained in:
Regis Houssin
2011-04-11 07:56:58 +00:00
parent dc25891c60
commit d567827f3e
3 changed files with 3 additions and 3 deletions

View File

@@ -2727,7 +2727,7 @@ class OrderLine
$sql.= ' special_code, rang, marge_tx, marque_tx,';
$sql.= ' info_bits, total_ht, total_tva, total_localtax1, total_localtax2, total_ttc, date_start, date_end)';
$sql.= " VALUES (".$this->fk_commande.",";
$sql.= " ".$this->fk_parent_line.",";
$sql.= " ".($this->fk_parent_line>0?"'".$this->fk_parent_line."'":"null").",";
$sql.= " '".$this->db->escape($this->desc)."',";
$sql.= " '".price2num($this->qty)."',";
$sql.= " '".price2num($this->tva_tx)."',";