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 '
Fiche client : $objsoc->nom | ";
+ 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 '
| idp\">Compta | "; - print "[idp\">Documents] | "; print "[idp&action=add_bookmark\">Bookmark] | "; - - print "[idp\">Notes] | "; print "[idp&action=edit\">Editer] | "; } print "