Fix: Show correct information

This commit is contained in:
Laurent Destailleur 2010-08-26 22:31:30 +00:00
parent 5b9398ed16
commit c9cfb4c075

View File

@ -1014,7 +1014,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);
@ -1089,7 +1089,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);