diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 1c15522f9abfd0aef2912fff252a13502e6082d4..aaf1ed516893917b101dee909ee8047249347402 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -434,7 +434,7 @@ if ($action == 'update_line') { $prod = new Product($db); $prod->fetch($_POST['idprod']); - $label = $prod->libelle; + $label = $prod->description; if (trim($_POST['label']) != trim($label)) $label=$_POST['label']; $type = $prod->type; @@ -488,7 +488,7 @@ if ($action == 'addline') // cas special pour lequel on a les meme reference que le fournisseur // $label = '['.$product->ref.'] - '. $product->libelle; - $label = $product->libelle; + $label = $product->description; $tvatx=get_default_tva($societe,$mysoc,$product->id);