Fix invoice supplier clone was not getting all lines parameters #9800

This commit is contained in:
Maxime Kohlhaas 2018-10-27 10:53:01 +02:00
parent d800fe9256
commit 4ec80b5136

View File

@ -376,7 +376,14 @@ class FactureFournisseur extends CommonInvoice
$this->lines[$i]->fk_product,
'HT',
(! empty($this->lines[$i]->info_bits)?$this->lines[$i]->info_bits:''),
$this->lines[$i]->product_type
$this->lines[$i]->product_type,
$this->lines[$i]->remise_percent,
false,
$this->lines[$i]->date_start,
$this->lines[$i]->date_end,
$this->lines[$i]->array_options,
$this->lines[$i]->fk_unit,
$this->lines[$i]->pu_ht_devise
);
}
else