Add: onglet contact sur les fiches d'interventions

This commit is contained in:
Regis Houssin
2007-06-21 19:49:24 +00:00
parent 6802dc1206
commit 46244193b3
9 changed files with 423 additions and 38 deletions

View File

@@ -38,13 +38,15 @@ function fichinter_prepare_head($fichinter)
$h = 0;
$head = array();
if ($conf->fichinter->enabled && $user->rights->ficheinter->lire)
{
$head[$h][0] = DOL_URL_ROOT.'/fichinter/fiche.php?id='.$fichinter->id;
$head[$h][1] = $langs->trans("Card");
$head[$h][2] = 'card';
$h++;
}
$head[$h][0] = DOL_URL_ROOT.'/fichinter/fiche.php?id='.$fichinter->id;
$head[$h][1] = $langs->trans("Card");
$head[$h][2] = 'card';
$h++;
$head[$h][0] = DOL_URL_ROOT.'/fichinter/contact.php?id='.$fichinter->id;
$head[$h][1] = $langs->trans('InterventionContact');
$head[$h][2] = 'contact';
$h++;
return $head;
}