From 9faf1ee00ed72a82c742d8aeeca61bf34bee41d3 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 8 Feb 2005 13:21:22 +0000 Subject: [PATCH] Ajout graphiques des lignes actives --- htdocs/telephonie/script/graph-statistiques.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/htdocs/telephonie/script/graph-statistiques.php b/htdocs/telephonie/script/graph-statistiques.php index 666ab993e53..d1431810ab2 100644 --- a/htdocs/telephonie/script/graph-statistiques.php +++ b/htdocs/telephonie/script/graph-statistiques.php @@ -42,6 +42,8 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/camoyen.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/appelsdureemoyenne.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/comm.nbmensuel.class.php"); +require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/actives.class.php"); + $error = 0; $datetime = time(); @@ -71,6 +73,7 @@ $dirs[2] = DOL_DATA_ROOT."/graph/telephonie/communications/"; $dirs[3] = DOL_DATA_ROOT."/graph/telephonie/factures/"; $dirs[4] = DOL_DATA_ROOT."/graph/telephonie/ca/"; $dirs[5] = DOL_DATA_ROOT."/graph/telephonie/client/"; +$dirs[6] = DOL_DATA_ROOT."/graph/telephonie/lignes/"; $img_root = DOL_DATA_ROOT."/graph/telephonie/"; @@ -94,6 +97,17 @@ if (is_array($dirs)) } } } +/***********************************************************************/ +/* +/* Lignes actives +/* +/***********************************************************************/ + +$file = $img_root . "lignes/lignes.actives.png"; +print "Graph : Lignes actives$file\n"; +$graph = new GraphLignesActives($db, $file); +$graph->GraphMakeGraph(); + /***********************************************************************/ /* /* Chiffre d'affaire mensuel