/[dolibarr]/dolibarr/htdocs/product/stock/index.php
ViewVC logotype

Diff of /dolibarr/htdocs/product/stock/index.php

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

revision 1.9 by eldy, Mon Mar 28 18:50:47 2005 UTC revision 1.10 by eldy, Wed Aug 31 21:29:03 2005 UTC
# Line 18  Line 18 
18   *   *
19   * $Id$   * $Id$
20   * $Source$   * $Source$
  *  
21   */   */
22    
23  /**  /**
# Line 40  if (!$user->rights->stock->lire) Line 39  if (!$user->rights->stock->lire)
39    
40  llxHeader("","",$langs->trans("Stocks"));  llxHeader("","",$langs->trans("Stocks"));
41    
42  print_titre($langs->trans("StocksArea"));  print_fiche_titre($langs->trans("StocksArea"));
 print '<br>';  
   
43    
44  print '<table class="noborder" width="100%">';  print '<table border="0" width="100%" class="notopnoleftnoright">';
45  print '<tr><td valign="top" width="30%">';  print '<tr><td valign="top" width="30%" class="notopnoleft">';
46    
47    
48  /*  /*
49   * Zone recherche entrepot   * Zone recherche entrepot
50   */   */
51  print '<form method="post" action="liste.php">';  print '<form method="post" action="'.DOL_URL_ROOT.'/product/stock/liste.php">';
52  print '<table class="noborder" width="100%">';  print '<table class="noborder" width="100%">';
53  print "<tr class=\"liste_titre\">";  print "<tr class=\"liste_titre\">";
54  print '<td colspan="3">'.$langs->trans("Search").'</td></tr>';  print '<td colspan="3">'.$langs->trans("Search").'</td></tr>';
55  print "<tr $bc[0]><td>";  print "<tr $bc[0]><td>";
56  print $langs->trans("Ref").' :</td><td><input class="flat" type="text" size="20" name="sf_ref"></td><td><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';  print $langs->trans("Ref").':</td><td><input class="flat" type="text" size="18" name="sf_ref"></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
57    print "<tr $bc[0]><td>".$langs->trans("Other").':</td><td><input type="text" name="sall" class="flat" size="18"></td>';
58  print "</table></form><br>";  print "</table></form><br>";
59    
60    
61    
   
62  $sql = "SELECT e.label, e.rowid, e.statut FROM ".MAIN_DB_PREFIX."entrepot as e";  $sql = "SELECT e.label, e.rowid, e.statut FROM ".MAIN_DB_PREFIX."entrepot as e";
63  $sql .= " ORDER BY e.statut DESC ";  $sql .= " ORDER BY e.statut DESC ";
64  $sql .= $db->plimit(15 ,0);  $sql .= $db->plimit(15 ,0);
# Line 101  else Line 98  else
98      dolibarr_print_error($db);      dolibarr_print_error($db);
99  }  }
100    
101  print '</td><td valign="top" width="70%">';  print '</td><td valign="top" width="70%" class="notopnoleft">';
102    
103    
104  print '</td></tr></table>';  print '</td></tr></table>';
105    
106  $db->close();  $db->close();
107    
108  llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>");  llxFooter('$Date$ - $Revision$');
109  ?>  ?>

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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