diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php
index 18bfc0d2bff..a7e2dede000 100644
--- a/htdocs/fourn/commande/fiche.php
+++ b/htdocs/fourn/commande/fiche.php
@@ -1013,7 +1013,7 @@ if ($id > 0 || ! empty($ref))
$product_static=new ProductFournisseur($db);
$product_static->fetch($commandline->fk_product);
- $text=$product_static->getNomUrl(1);
+ $text=$product_static->getNomUrl(1,'supplier');
$text.= ' - '.$product_static->libelle;
$description=($conf->global->PRODUIT_DESC_IN_FORM?'':dol_htmlentitiesbr($commandline->description));
print $html->textwithtooltip($text,$description,3,'','',$i);
@@ -1086,22 +1086,16 @@ if ($id > 0 || ! empty($ref))
print ''; // ancre pour retourner sur la ligne
if (($conf->product->enabled || $conf->service->enabled) && $commandline->fk_product > 0)
{
- $product_static=new ProductFournisseur($db);
- $product_static->fetch($commandline->fk_product);
- $text=$product_static->getNomUrl(1);
- $text.= ' - '.$product_static->libelle;
- $description=($conf->global->PRODUIT_DESC_IN_FORM?'':dol_htmlentitiesbr($commandline->description));
- print $html->textwithtooltip($text,$description,3,'','',$i);
+ $product_static=new ProductFournisseur($db);
+ $product_static->fetch($commandline->fk_product);
+ $text=$product_static->getNomUrl(1,'supplier');
+ $text.= ' - '.$product_static->libelle;
+ $description=($conf->global->PRODUIT_DESC_IN_FORM?'':dol_htmlentitiesbr($commandline->description));
+ print $html->textwithtooltip($text,$description,3,'','',$i);
- // Show range
- print_date_range($commandline->date_start,$commandline->date_end);
- /*
- print '';
- print img_object($langs->trans('ShowProduct'),'product');
- print ' '.$commandline->ref_fourn.'';
- print ' ('.$commandline->ref.')';
- print ' - '.nl2br($commandline->product);
- print '
';*/
+ // Show range
+ print_date_range($commandline->date_start,$commandline->date_end);
+ print '
';
}
else
{