Ajout onglet

This commit is contained in:
Rodolphe Quiedeville 2005-02-08 15:29:18 +00:00
parent 4830dc48e3
commit 3ec8e57bf3

View File

@ -38,21 +38,20 @@ $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/index.php';
$head[$h][1] = "Global"; $head[$h][1] = "Global";
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/mensuel.php';
$head[$h][1] = "Mensuel";
$h++;
if ($_GET["commid"]) if ($_GET["commid"])
{ {
$comm = new User($db, $_GET["commid"]); $comm = new User($db, $_GET["commid"]);
$comm->fetch(); $comm->fetch();
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/commercial.php?commid='.$comm->id; $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/commercial.php?commid='.$comm->id;
$head[$h][1] = $comm->fullname; $head[$h][1] = $comm->fullname;
$hselected = $h; $hselected = $h;
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/commercialca.php?commid='.$comm->id;
$head[$h][1] = "CA";
$h++;
dolibarr_fiche_head($head, $hselected, "Commerciaux"); dolibarr_fiche_head($head, $hselected, "Commerciaux");
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'; print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';