diff --git a/htdocs/telephonie/script/graph-statistiques-week.php b/htdocs/telephonie/script/graph-statistiques-week.php index 1cce56ebb3e..bcfe55d58e2 100644 --- a/htdocs/telephonie/script/graph-statistiques-week.php +++ b/htdocs/telephonie/script/graph-statistiques-week.php @@ -33,7 +33,7 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/commandes.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/commandes.week.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/resiliation.week.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/rejet.week.class.php"); -require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clients.week.class.php"); + require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clientsmoyenne.week.class.php"); $error = 0; @@ -73,6 +73,9 @@ $graph->GraphMakeGraph(); /* /***********************************************************************/ +require_once DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clients.week.class.php"; +require_once DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clients.month.class.php"; + $file = $img_root . "lignes/commandes.mensuels.png"; if ($verbose) print "Graph : Lignes commandes$file\n"; $graph = new GraphLignesCommandes($db, $file); @@ -96,6 +99,11 @@ $graph = new GraphClientsWeek($db, $file); $graph->width = 400; $graph->GraphMakeGraph(); +$file = $img_root . "commercials/clients.mensuel.png"; +$graph = new GraphClientsMonth($db, $file); +$graph->width = 400; +$graph->GraphMakeGraph(); + $sql = "SELECT distinct fk_commercial"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne"; diff --git a/htdocs/telephonie/stats/clients/index.php b/htdocs/telephonie/stats/clients/index.php index 8efe164aa56..de5a31c9688 100644 --- a/htdocs/telephonie/stats/clients/index.php +++ b/htdocs/telephonie/stats/clients/index.php @@ -121,6 +121,8 @@ print ''; print 'Nouveaux clients par semaines

'."\n"; +print 'Nouveaux clients par semaines

'."\n"; + print ''; print '';