507 |
{ |
{ |
508 |
$societe = new Societe($db); |
$societe = new Societe($db); |
509 |
$societe->fetch($fuser->societe_id); |
$societe->fetch($fuser->societe_id); |
510 |
print '<a href="'.DOL_URL_ROOT.'/soc.php?id='.$fuser->societe_id.'">'.img_object($langs->trans("ShowCompany"),'company').' '.dolibarr_trunc($societe->nom,32).'</a>'; |
print '<a href="'.DOL_URL_ROOT.'/soc.php?socid='.$fuser->societe_id.'">'.img_object($langs->trans("ShowCompany"),'company').' '.dolibarr_trunc($societe->nom,32).'</a>'; |
511 |
if ($fuser->contact_id) |
if ($fuser->contact_id) |
512 |
{ |
{ |
513 |
$contact = new Contact($db); |
$contact = new Contact($db); |