From a09230d3394a2067c03b78c218af2bbd955d781a Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Thu, 8 Dec 2005 09:24:40 +0000
Subject: [PATCH] Modif sortie ecran

---
 htdocs/telephonie/script/presel_active_view.php | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/htdocs/telephonie/script/presel_active_view.php b/htdocs/telephonie/script/presel_active_view.php
index 3358b75fc3c..d8423d2ecd6 100644
--- a/htdocs/telephonie/script/presel_active_view.php
+++ b/htdocs/telephonie/script/presel_active_view.php
@@ -132,12 +132,15 @@ function GetPreselection_byRef($db, $host, $user_login, $user_passwd, $ids, $deb
 		  preg_match('/PreSelection_Statut="([\S]*)"/i', $line, $array);
 		  $ligne_presel = $array[1];
 		  
-		  print "$i/$numcli ";
-		  print $ligne_numero." ";
-		  print "$service_active/$presel_active ";
-		  print substr($ligne_service.str_repeat(" ",20),0,20);
-		  print substr($ligne_presel.str_repeat(" ",20),0,20);
-		  print "\n";
+		  if ($ligne_service.$ligne_presel <> 'TRAITE_OK/TRAITE_OK')
+		    {
+		      print "$i/$numcli ";
+		      print $ligne_numero." ";
+		      print "$service_active/$presel_active ";
+		      print substr($ligne_service.str_repeat(" ",20),0,20);
+		      print substr($ligne_presel.str_repeat(" ",20),0,20);
+		      print "\n";
+		    }
 		}
 
 	      if (preg_match("/<Error .* \/>/",$line))
-- 
GitLab