Update fournisseur.facture.class.php

This commit is contained in:
Laurent Destailleur 2021-08-28 17:55:49 +02:00 committed by GitHub
parent 22ec43f4a3
commit 97064f1550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3414,10 +3414,10 @@ class SupplierInvoiceLine extends CommonObjectLine
$sql .= ", total_localtax1= ".price2num($this->total_localtax1);
$sql .= ", total_localtax2= ".price2num($this->total_localtax2);
$sql .= ", total_ttc = ".price2num($this->total_ttc);
$sql .= ", fk_product = ".$fk_product;
$sql .= ", fk_product = ".((int) $fk_product);
$sql .= ", product_type = ".((int) $this->product_type);
$sql .= ", info_bits = ".((int) $this->info_bits);
$sql .= ", fk_unit = ".$fk_unit;
$sql .= ", fk_unit = ".((int) $fk_unit);
// Multicurrency
$sql .= " , multicurrency_subprice=".price2num($this->multicurrency_subprice)."";