Remove an information that should not be in this tab
This commit is contained in:
parent
b84a2b15c9
commit
4c7650b3d8
@ -18,10 +18,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/contact/info.php
|
* \file htdocs/contact/info.php
|
||||||
\ingroup societe
|
* \ingroup societe
|
||||||
\brief Onglet info d'un contact
|
* \brief Onglet info d'un contact
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -49,31 +49,15 @@ $contact = new Contact($db);
|
|||||||
$contact->fetch($_GET["id"], $user);
|
$contact->fetch($_GET["id"], $user);
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Affichage onglets
|
|
||||||
*/
|
|
||||||
$head = contact_prepare_head($contact);
|
$head = contact_prepare_head($contact);
|
||||||
|
|
||||||
dol_fiche_head($head, 'info', $langs->trans("Contact"));
|
dol_fiche_head($head, 'info', $langs->trans("Contact"));
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Visualisation de la fiche
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
print '<table width="100%"><tr><td>';
|
print '<table width="100%"><tr><td>';
|
||||||
$contact->info($_GET["id"]);
|
$contact->info($_GET["id"]);
|
||||||
print '</td></tr></table>';
|
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);
|
dol_print_object_info($contact);
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user