New: Link between third party and member is visible on all third party tabs

This commit is contained in:
Laurent Destailleur 2011-02-09 15:31:12 +00:00
parent b58bea9302
commit 76c723075b
3 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ if ($socid > 0)
print '<tr><td width="25%" valign="top">'.$langs->trans("LinkedToDolibarrMember").'</td>';
print '<td colspan="3">';
$adh=new Adherent($db);
$result=$adh->fetch('','',$soc->id);
$result=$adh->fetch('','',$objsoc->id);
if ($result > 0)
{
$adh->ref=$adh->getFullName($langs);

View File

@ -183,7 +183,7 @@ if ($socid > 0)
print '<tr><td width="25%" valign="top">'.$langs->trans("LinkedToDolibarrMember").'</td>';
print '<td colspan="3">';
$adh=new Adherent($db);
$result=$adh->fetch('','',$soc->id);
$result=$adh->fetch('','',$societe->id);
if ($result > 0)
{
$adh->ref=$adh->getFullName($langs);

View File

@ -186,7 +186,7 @@ if ( $societe->fetch($socid) )
print '<tr><td width="25%" valign="top">'.$langs->trans("LinkedToDolibarrMember").'</td>';
print '<td colspan="3">';
$adh=new Adherent($db);
$result=$adh->fetch('','',$soc->id);
$result=$adh->fetch('','',$societe->id);
if ($result > 0)
{
$adh->ref=$adh->getFullName($langs);