Ajout nom de la societe quand le user est un contact extrieur
This commit is contained in:
parent
b4c7936fe2
commit
a6797ca58a
@ -291,9 +291,14 @@ else
|
|||||||
print '<td colspan="3" class="valeur">'.$yn[$fuser->admin].'</td>';
|
print '<td colspan="3" class="valeur">'.$yn[$fuser->admin].'</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
print "<tr>".'<td width="25%" valign="top">Id Société</td>';
|
if ($fuser->societe_id > 0)
|
||||||
print '<td colspan="3" class="valeur">'.$fuser->societe_id.' </td>';
|
{
|
||||||
print "</tr>\n";
|
$societe = new Societe($db);
|
||||||
|
$societe->fetch($fuser->societe_id);
|
||||||
|
print "<tr>".'<td width="25%" valign="top">Société</td>';
|
||||||
|
print '<td colspan="3">'.$societe->nom.' </td>';
|
||||||
|
print "</tr>\n";
|
||||||
|
}
|
||||||
|
|
||||||
print "<tr>".'<td width="25%" valign="top">Fiche contact</td>';
|
print "<tr>".'<td width="25%" valign="top">Fiche contact</td>';
|
||||||
print '<td colspan="3" valign="top">';
|
print '<td colspan="3" valign="top">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user