/[dolibarr]/dolibarr/htdocs/telephonie/ligne/history.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/ligne/history.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by rodolphe, Mon Sep 12 13:46:01 2005 UTC revision 1.8 by rodolphe, Thu Oct 20 14:01:16 2005 UTC
# Line 211  llxHeader("","","Historique Ligne"); Line 211  llxHeader("","","Historique Ligne");
211            print_titre("Retours Fournisseurs");            print_titre("Retours Fournisseurs");
212            $sql = "SELECT ";            $sql = "SELECT ";
213            $sql .= " cli,mode,situation,date_mise_service,date_resiliation,motif_resiliation,commentaire,fichier, traite ";            $sql .= " cli,mode,situation,date_mise_service,date_resiliation,motif_resiliation,commentaire,fichier, traite ";
214                        $sql .= ",".$db->pdate("date_traitement")." as dt, fk_fournisseur";
215            $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_commande_retour";            $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_commande_retour";
216            $sql .= " WHERE cli = ".$ligne->numero;            $sql .= " WHERE cli = ".$ligne->numero;
217            $sql .= " ORDER BY rowid DESC " . $db->plimit($conf->liste_limit+1, $offset);            $sql .= " ORDER BY rowid DESC " . $db->plimit($conf->liste_limit+1, $offset);
# Line 221  llxHeader("","","Historique Ligne"); Line 221  llxHeader("","","Historique Ligne");
221              {              {
222                print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';                print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
223                print '<tr class="liste_titre"><td>Mode</td><td>Resultat</td>';                print '<tr class="liste_titre"><td>Mode</td><td>Resultat</td>';
224                print '<td align="center">Date MeS</td><td>Résil</td></td><td>Commentaire</td><td>Fichier</td>';                print '<td align="center">Date MeS</td><td>Résil</td></td><td>Commentaire</td><td align="center">D.T. / Fichier</td>';
225                print "</tr>\n";                print "</tr>\n";
226                $var=True;                $var=True;
227                                
# Line 230  llxHeader("","","Historique Ligne"); Line 230  llxHeader("","","Historique Ligne");
230                    $var=!$var;                    $var=!$var;
231                                        
232                    print "<tr $bc[$var]>";                    print "<tr $bc[$var]>";
233                    print '<td>'.$obj->mode."</td>\n";                    print '<td>'.$obj->fk_fournisseur." ".$obj->mode."</td>\n";
234                    print '<td>'.$obj->situation."</td>\n";                    print '<td>'.$obj->situation."</td>\n";
235                    print '<td align="center">'.$obj->date_mise_service."</td>\n";                    print '<td align="center">'.$obj->date_mise_service."</td>\n";
236                    print '<td align="center">'.$obj->date_resiliation."</td>\n";                    print '<td align="center">'.$obj->date_resiliation."</td>\n";
237                    print '<td>'.$obj->commentaire."</td>\n";                    print '<td>'.$obj->commentaire."</td>\n";
238                    print '<td>'.$obj->fichier."</td>\n";                    if ($obj->fichier)
239                        {
240                          print '<td align="center">'.$obj->fichier."</td>\n";
241                        }
242                      else
243                        {
244                          print '<td align="center">'.strftime("%d/%m/%y %H:%M",$obj->dt)."</td>\n";
245                        }
246                    print "</tr>\n";                    print "</tr>\n";
247                  }                  }
248                print "</table>";                print "</table>";

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26