diff --git a/htdocs/telephonie/ligne/commande/retour/index.php b/htdocs/telephonie/ligne/commande/retour/index.php
index b63b0418aaa..af66ddc2bfd 100644
--- a/htdocs/telephonie/ligne/commande/retour/index.php
+++ b/htdocs/telephonie/ligne/commande/retour/index.php
@@ -122,10 +122,63 @@ print '
';
*
*/
-print_titre("Retour en attente de traitement");
+$sql = "SELECT ";
+$sql .= " cli,mode,situation,date_mise_service,date_resiliation,motif_resiliation,commentaire,fichier, traite ";
+
+$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_commande_retour";
+$sql .= " WHERE traite = 0 AND mode = 'PRESELECTION'";
+$sql .= " LIMIT 10";
+
+if ($db->query($sql))
+{
+ $num = $db->num_rows();
+
+ if ($num)
+ {
+
+ $i = 0;
+
+ print_titre("Retour");
+
+ print '';
+ print '| Lignes Statuts | Resultat | ';
+ print 'Date | Commentaire | ';
+ print " \n";
+ $var=True;
+
+ while ($i < $num)
+ {
+ $obj = $db->fetch_object();
+ $var=!$var;
+
+ $ligne = new LigneTel($db);
+
+ if ( $ligne->fetch($obj->cli) == 1);
+ {
+ print "";
+ print ' ';
+ print '';
+ print $obj->cli." | \n";
+ print ''.$obj->situation." | \n";
+ print ''.$obj->date_mise_service." | \n";
+ print ''.$obj->commentaire." | \n";
+ print " \n";
+ }
+ $i++;
+ }
+ print " ";
+ }
+ $db->free();
+}
+else
+{
+ print $db->error() . ' ' . $sql;
+}
+
+print_titre("Fichiers retour en attente de traitement");
print '';
-print '| Lignes Statuts | Taille | Date | ';
+print ' | Fichier | Taille | Date | ';
print " \n";
$var=True;
|