From b4e17f6ab34a3a42b1a8baa7ebde621ddc21f26f Mon Sep 17 00:00:00 2001 From: mparienti Date: Thu, 6 May 2004 09:04:01 +0000 Subject: [PATCH] =?UTF-8?q?Pr=E9sentation=20en=20tab=20de=20la=20fiche=20c?= =?UTF-8?q?liente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/fiche.php | 47 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 8f3b240442b..9a1d3980ed5 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -144,18 +144,51 @@ if ($socid > 0) /* * */ - print ''; + $head[0][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id; + $head[0][1] = "Fiche société"; + $h = 1; + + $head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?id='.$societe->id; + $head[$h][1] = 'Fiche client'; + $h++; - print ""; + if (file_exists(DOL_DOCUMENT_ROOT.'/sl/')) + { + $head[$h][0] = DOL_URL_ROOT.'/sl/fiche.php?id='.$societe->id; + $head[$h][1] = 'Fiche catalogue'; + $h++; + } + + if ($soc->fournisseur) + { + $head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$societe->id; + $head[$h][1] = 'Fiche fournisseur'; + $h++; + } + $head[$h][0] = DOL_URL_ROOT.'/socnote.php?socid='.$societe->id; + $head[$h][1] = 'Note'; + $h++; + if ($user->societe_id == 0) + { + $head[$h][0] = DOL_URL_ROOT.'/docsoc.php?socid='.$societe->id; + $head[$h][1] = 'Documents'; + $h++; + } + + $head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$societe->id; + $head[$h][1] = 'Notifications'; + + dolibarr_fiche_head($head, 1); + + print_titre("Fiche client : $objsoc->nom"); + + print '
Fiche client : $objsoc->nom
'; if ($user->societe_id == 0) { print ""; - print ""; print ""; - - print ""; print ""; } print "
idp\">Compta[idp\">Documents][idp&action=add_bookmark\">Bookmark][idp\">Notes][idp&action=edit\">Editer]
"; @@ -304,13 +337,13 @@ if ($socid > 0) * */ print ""; - print "\n"; + print "\n"; /* * Barre d'action * */ - print '
'; + print '
'; if ($conf->propal->enabled && $user->rights->propale->creer) {