[ 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/facture/ -> 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.16 2005/12/03 17:18:35 eldy Exp $
  20   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/compta/facture/info.php,v $
  21   */
  22  
  23  /**
  24          \file       htdocs/compta/facture/info.php
  25          \ingroup    facture
  26          \brief      Page des informations d'une facture
  27          \version    $Revision: 1.16 $
  28  */
  29  
  30  require ("./pre.inc.php");
  31  require_once(DOL_DOCUMENT_ROOT.'/lib/invoice.lib.php');
  32  
  33  $langs->load("bills");
  34  
  35  llxHeader();
  36  
  37  
  38  /*
  39   * Visualisation de la fiche
  40   *
  41   */
  42  
  43  $fac = new Facture($db);
  44  $fac->fetch($_GET["facid"]);
  45  $fac->info($_GET["facid"]);
  46  $soc = new Societe($db, $fac->socidp);
  47  $soc->fetch($fac->socidp);
  48  $head = facture_prepare_head($fac);
  49  $hselected = 3;
  50  if ($conf->use_preview_tabs) $hselected++;
  51  if ($fac->mode_reglement_code == 'PRE') $hselected++;
  52  dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
  53  
  54  
  55  print '<table width="100%"><tr><td>';
  56  dolibarr_print_object_info($fac);
  57  print '</td></tr></table>';
  58  
  59  print '</div>';
  60  
  61  // Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
  62  print '<div class="tabsAction">';
  63  print '</div>';
  64  
  65  $db->close();
  66  
  67  llxFooter('$Date: 2005/12/03 17:18:35 $ - $Revision: 1.16 $');
  68  ?>


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