Ajout nom de la societe quand le user est un contact extrieur

This commit is contained in:
Rodolphe Quiedeville
2004-07-29 13:02:23 +00:00
parent b4c7936fe2
commit a6797ca58a

View File

@@ -291,9 +291,14 @@ else
print '<td colspan="3" class="valeur">'.$yn[$fuser->admin].'</td>';
print "</tr>\n";
print "<tr>".'<td width="25%" valign="top">Id Soci<63>t<EFBFBD></td>';
print '<td colspan="3" class="valeur">'.$fuser->societe_id.'&nbsp;</td>';
print "</tr>\n";
if ($fuser->societe_id > 0)
{
$societe = new Societe($db);
$societe->fetch($fuser->societe_id);
print "<tr>".'<td width="25%" valign="top">Soci<63>t<EFBFBD></td>';
print '<td colspan="3">'.$societe->nom.'&nbsp;</td>';
print "</tr>\n";
}
print "<tr>".'<td width="25%" valign="top">Fiche contact</td>';
print '<td colspan="3" valign="top">';