/[dolibarr]/dolibarr/htdocs/expedition/index.php
ViewVC logotype

Diff of /dolibarr/htdocs/expedition/index.php

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

revision 1.21 by eldy, Mon Aug 15 16:30:13 2005 UTC revision 1.22 by eldy, Tue Sep 6 16:43:15 2005 UTC
# Line 56  if ($socidp) Line 56  if ($socidp)
56  {  {
57      $sql .= " AND c.fk_soc = $socidp";      $sql .= " AND c.fk_soc = $socidp";
58  }  }
   
59  $resql=$db->query($sql);  $resql=$db->query($sql);
60  if ($resql)  if ($resql)
61  {  {
# Line 108  if ( $db->query($sql) ) Line 107  if ( $db->query($sql) )
107            $obj = $db->fetch_object();            $obj = $db->fetch_object();
108            print "<tr $bc[$var]><td width=\"33%\">";            print "<tr $bc[$var]><td width=\"33%\">";
109            print "<a href=\"commande.php?id=$obj->rowid\">".img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref.'</a></td>';            print "<a href=\"commande.php?id=$obj->rowid\">".img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref.'</a></td>';
110            print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td></tr>';            print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->idp.'">'.dolibarr_trunc($obj->nom,20).'</a></td></tr>';
111            $i++;            $i++;
112          }          }
113        print "</table><br>";        print "</table><br>";

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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