Update facture.class.php

This commit is contained in:
Laurent Destailleur 2019-05-19 01:58:01 +02:00 committed by GitHub
parent 83c38570e9
commit 2fd3eb8bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4492,7 +4492,7 @@ class FactureLigne extends CommonInvoiceLine
$sql.= " '".$this->db->escape($this->localtax1_type)."',";
$sql.= " '".$this->db->escape($this->localtax2_type)."',";
$sql.= ' '.(! empty($this->fk_product)?$this->fk_product:"null").',';
$sql.= " '".$this->product_type."',";
$sql.= " ".((int) $this->product_type).",";
$sql.= " ".price2num($this->remise_percent).",";
$sql.= " ".price2num($this->subprice).",";
$sql.= ' '.(! empty($this->fk_remise_except)?$this->fk_remise_except:"null").',';