diff --git a/htdocs/telephonie/client/stats.php b/htdocs/telephonie/client/stats.php index 1ca42c7a3f8..6bd54008bad 100644 --- a/htdocs/telephonie/client/stats.php +++ b/htdocs/telephonie/client/stats.php @@ -114,10 +114,9 @@ if ($_GET["id"]) } print ''; - print ''; - $file = $img_root.$soc->id."/graphappelsdureemoyenne.png"; + $file = $img_root.$soc->id."/nb-minutes-mensuel.png"; if (file_exists($file)) { @@ -140,7 +139,32 @@ if ($_GET["id"]) { print $mesg_no_graph; } + print ''; + print ''; + $file = $img_root.$soc->id."/graphappelsdureemoyenne.png"; + + if (file_exists($file)) + { + print 'Duree moyenne'; + } + else + { + print $mesg_no_graph; + } + + print ''; + + $file = $img_root.$soc->id."/nb-comm-menTOTOsuel.png"; + + if (file_exists($file)) + { + //print 'CA Mensuel'; + } + else + { + //print $mesg_no_graph; + } print ''; } }