From e3edcc2a9a5eb848793dd204640d6933c94b34e6 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 16 May 2005 09:50:43 +0000 Subject: [PATCH] Ajout duree --- htdocs/telephonie/stats/destinations/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/telephonie/stats/destinations/index.php b/htdocs/telephonie/stats/destinations/index.php index fe21d31a909..6309c93f08b 100644 --- a/htdocs/telephonie/stats/destinations/index.php +++ b/htdocs/telephonie/stats/destinations/index.php @@ -50,7 +50,7 @@ print ''; print '
'; -$sql = "SELECT destination, nbappels, ca"; +$sql = "SELECT destination, nbappels, ca, duree, duree_moy"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_stats_destination"; $sql .= " ORDER BY ca DESC"; @@ -61,7 +61,8 @@ if ($db->query($sql)) print ''; print ''; - print ''; + print ''; + print ''; $var=True; while ($i < $num) @@ -74,6 +75,8 @@ if ($db->query($sql)) print ''."\n"; print '\n"; print '\n"; + print '\n"; + print '\n"; print "\n";
DestinationCANb Appels
Nb AppelsDureeDuree_moyenne
'.$row[0].''.round($row[2],0)."'.$row[1]."'.$row[2]."'.round($row[3],2)."