Remove an information that should not be in this tab

This commit is contained in:
Laurent Destailleur 2009-05-07 00:36:45 +00:00
parent b84a2b15c9
commit 4c7650b3d8

View File

@ -18,11 +18,11 @@
*/
/**
\file htdocs/contact/info.php
\ingroup societe
\brief Onglet info d'un contact
\version $Id$
*/
* \file htdocs/contact/info.php
* \ingroup societe
* \brief Onglet info d'un contact
* \version $Id$
*/
require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.php");
@ -49,31 +49,15 @@ $contact = new Contact($db);
$contact->fetch($_GET["id"], $user);
/*
* Affichage onglets
*/
$head = contact_prepare_head($contact);
dol_fiche_head($head, 'info', $langs->trans("Contact"));
/*
* Visualisation de la fiche
*
*/
print '<table width="100%"><tr><td>';
$contact->info($_GET["id"]);
print '</td></tr></table>';
if ($contact->socid > 0)
{
$societe = new Societe($db);
$societe->fetch($contact->socid);
print $langs->trans("Company").' : '.$societe->getNomUrl(0).'<br>';
}
dol_print_object_info($contact);
print "</div>";