diff --git a/htdocs/telephonie/stats/commerciaux/index.php b/htdocs/telephonie/stats/commerciaux/index.php index 11f6e87d876..75943c32951 100644 --- a/htdocs/telephonie/stats/commerciaux/index.php +++ b/htdocs/telephonie/stats/commerciaux/index.php @@ -21,29 +21,28 @@ */ require("./pre.inc.php"); -$page = $_GET["page"]; -$sortorder = $_GET["sortorder"]; - -if (!$user->rights->telephonie->lire) - accessforbidden(); +if (!$user->rights->telephonie->lire) accessforbidden(); llxHeader('','Telephonie - Statistiques - Commerciaux'); /* - * Sécurité accés client + * + * + * */ -if ($user->societe_id > 0) -{ - $action = ''; - $socidp = $user->societe_id; -} -/* - * Mode Liste - * - * - * - */ +$h = 0; + +$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/index.php'; +$head[$h][1] = "Global"; +$hselected = $h; +$h++; + +$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/mensuel.php'; +$head[$h][1] = "Mensuel"; +$h++; + +dolibarr_fiche_head($head, $hselected, "Commerciaux"); print ''; @@ -75,7 +74,7 @@ if ($result) print ""; print ''; $i++; @@ -93,8 +92,9 @@ print ''; print '';
'; - print ''.$row[2]." ". $row[1].''.$row[0].'
'; -print '

'; -print '

'; +print 'Commandes de ligne par mois

'."\n"; + +print 'Commandes de ligne par mois

'."\n"; print '