[ 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/compta/bank/ -> 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.1 2005/10/15 15:32:38 eldy Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/compta/bank/info.php,v $
  20   */
  21  
  22  /**
  23          \file       htdocs/compta/bank/info.php
  24          \ingroup    banque
  25          \brief      Onglet info d'une ecriture bancaire
  26          \version    $Revision: 1.1 $
  27  */
  28  
  29  require ("./pre.inc.php");
  30  require_once(DOL_DOCUMENT_ROOT."/paiement.class.php");
  31  
  32  $langs->load("banks");
  33  $langs->load("companies");
  34  
  35  
  36  /*
  37   * Visualisation de la fiche
  38   *
  39   */
  40  
  41  llxHeader();
  42  
  43  $line = new AccountLine($db);
  44  $line->fetch($_GET["rowid"], $user);
  45  $line->info($_GET["rowid"]);
  46  
  47  
  48  $h=0;
  49  
  50  $head[$h][0] = DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$_GET["rowid"];
  51  $head[$h][1] = $langs->trans("Card");
  52  $h++;      
  53  
  54  $head[$h][0] = DOL_URL_ROOT.'/compta/bank/info.php?rowid='.$_GET["rowid"];
  55  $head[$h][1] = $langs->trans("Info");
  56  $hselected = $h;
  57  $h++;      
  58  
  59  
  60  dolibarr_fiche_head($head, $hselected, $langs->trans("LineRecord").": ".$line->ref);
  61  
  62  print '<table width="100%"><tr><td>';
  63  dolibarr_print_object_info($line);
  64  print '</td></tr></table>';
  65  
  66  print '</div>';
  67  
  68  // Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
  69  print '<div class="tabsAction">';
  70  print '</div>';
  71  
  72  $db->close();
  73  
  74  llxFooter('$Date: 2005/10/15 15:32:38 $ - $Revision: 1.1 $');
  75  ?>


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