From aaf8b2b34a63552ad7fe15a518b9226cd4523008 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 20 Oct 2005 14:01:16 +0000 Subject: [PATCH] Prise en compte du retour multi-fournisseur --- htdocs/telephonie/ligne/history.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/htdocs/telephonie/ligne/history.php b/htdocs/telephonie/ligne/history.php index feb12369305..ab53448602a 100644 --- a/htdocs/telephonie/ligne/history.php +++ b/htdocs/telephonie/ligne/history.php @@ -211,7 +211,7 @@ llxHeader("","","Historique Ligne"); print_titre("Retours Fournisseurs"); $sql = "SELECT "; $sql .= " cli,mode,situation,date_mise_service,date_resiliation,motif_resiliation,commentaire,fichier, traite "; - + $sql .= ",".$db->pdate("date_traitement")." as dt, fk_fournisseur"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_commande_retour"; $sql .= " WHERE cli = ".$ligne->numero; $sql .= " ORDER BY rowid DESC " . $db->plimit($conf->liste_limit+1, $offset); @@ -221,7 +221,7 @@ llxHeader("","","Historique Ligne"); { print ''; print ''; - print ''; + print ''; print "\n"; $var=True; @@ -230,12 +230,19 @@ llxHeader("","","Historique Ligne"); $var=!$var; print ""; - print '\n"; + print '\n"; print '\n"; print '\n"; print '\n"; print '\n"; - print '\n"; + if ($obj->fichier) + { + print '\n"; + } + else + { + print '\n"; + } print "\n"; } print "
ModeResultatDate MeSRésilCommentaireFichierDate MeSRésilCommentaireD.T. / Fichier
'.$obj->mode."'.$obj->fk_fournisseur." ".$obj->mode."'.$obj->situation."'.$obj->date_mise_service."'.$obj->date_resiliation."'.$obj->commentaire."'.$obj->fichier."'.$obj->fichier."'.strftime("%d/%m/%y %H:%M",$obj->dt)."
";