[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/product/stock/ -> info.php (source)

   1  <?php
   2  /* Copyright (C) 2005 Laurent Destailleur  <eldy@users.sourceforge.net>
   3   *
   4   * This program is free software; you can redistribute it and/or modify
   5   * it under the terms of the GNU General Public License as published by
   6   * the Free Software Foundation; either version 2 of the License, or
   7   * (at your option) any later version.
   8   *
   9   * This program is distributed in the hope that it will be useful,
  10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12   * GNU General Public License for more details.
  13   *
  14   * You should have received a copy of the GNU General Public License
  15   * along with this program; if not, write to the Free Software
  16   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17   *
  18   * $Id: info.php,v 1.3 2005/08/12 23:53:32 eldy Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/product/stock/info.php,v $
  20   *
  21   */
  22  
  23  /**
  24          \file       htdocs/product/stock/info.php
  25          \ingroup    facture
  26          \brief      Page des informations d'un entrepot
  27          \version    $Revision: 1.3 $
  28  */
  29  
  30  require ("./pre.inc.php");
  31  
  32  $langs->load("stocks");
  33  
  34  llxHeader();
  35  
  36  
  37  /*
  38   * Visualisation de la fiche
  39   *
  40   */
  41  
  42  $entrepot = new Entrepot($db);
  43  $entrepot->fetch($_GET["id"]);
  44  $entrepot->info($_GET["id"]);
  45  
  46  
  47  /*
  48   * Affichage onglets
  49   */
  50  $h = 0;
  51  
  52  $head[$h][0] = DOL_URL_ROOT.'/product/stock/fiche.php?id='.$entrepot->id;
  53  $head[$h][1] = $langs->trans("WarehouseCard");
  54  $h++;
  55  
  56  $head[$h][0] = DOL_URL_ROOT.'/product/stock/info.php?id='.$entrepot->id;
  57  $head[$h][1] = $langs->trans("Info");
  58  $hselected=$h;
  59  $h++;
  60  
  61  dolibarr_fiche_head($head, $hselected, $langs->trans("Warehouse").': '.$entrepot->libelle);
  62  
  63  
  64  print '<table width="100%"><tr><td>';
  65  dolibarr_print_object_info($entrepot);
  66  print '</td></tr></table>';
  67  
  68  print '</div>';
  69  
  70  $db->close();
  71  
  72  llxFooter('$Date: 2005/08/12 23:53:32 $ - $Revision: 1.3 $');
  73  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics