';
-$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 '| Destination | CA | ';
- print 'Nb Appels | ';
+ print 'Nb Appels | ';
+ print 'Duree | Duree_moyenne | ';
$var=True;
while ($i < $num)
@@ -74,6 +75,8 @@ if ($db->query($sql))
print ''.$row[0].' | '."\n";
print ''.round($row[2],0)." | \n";
print ''.$row[1]." | \n";
+ print ''.$row[2]." | \n";
+ print ''.round($row[3],2)." | \n";
print "\n";
|