diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index e02711b3584..24e0cc34bb0 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -606,6 +606,13 @@ if (empty($reshook)) { $lines[$i]->fk_unit ); if ($result > 0) { + if (!empty($lines[$i]->extraparams)) { + $factureLine = new FactureLigne($db); + $factureLine->id = $result; + $factureLine->extraparams = $lines[$i]->extraparams; + $factureLine->setExtraParameters(); + } + $lineid = $result; } else { $lineid = 0;