[ 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/fourn/paiement/ -> info.php (source)

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


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