/[dolibarr]/dolibarr/htdocs/compta/prelevement/fiche-rejet.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/prelevement/fiche-rejet.php

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

revision 1.3 by eldy, Fri Mar 18 22:50:53 2005 UTC revision 1.4 by eldy, Sat Sep 10 14:24:10 2005 UTC
# Line 1  Line 1 
1  <?PHP  <?PHP
2  /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>  /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
3     * Copyright (C) 2005 Laurent Destailleur  <eldy@users.sourceforge.net>
4   *   *
5   * This program is free software; you can redistribute it and/or modify   * 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   * it under the terms of the GNU General Public License as published by
# Line 17  Line 18 
18   *   *
19   * $Id$   * $Id$
20   * $Source$   * $Source$
  *  
21   */   */
 require("./pre.inc.php");  
22    
23  require_once DOL_DOCUMENT_ROOT."/compta/prelevement/rejet-prelevement.class.php";  require("./pre.inc.php");
24  require_once DOL_DOCUMENT_ROOT."/paiement.class.php";  require_once(DOL_DOCUMENT_ROOT."/compta/prelevement/rejet-prelevement.class.php");
25  require_once DOL_DOCUMENT_ROOT."/lib/dolibarrmail.class.php";  require_once(DOL_DOCUMENT_ROOT."/paiement.class.php");
26    
27  /*  // Sécurité accés client
  * Sécurité accés client  
  */  
28  if ($user->societe_id > 0) accessforbidden();  if ($user->societe_id > 0) accessforbidden();
29    
30  llxHeader('','Bon de prélèvement - Rejet');  llxHeader('','Bon de prélèvement - Rejet');
31    
32  $h = 0;  $h = 0;
33  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche.php?id='.$_GET["id"];  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche.php?id='.$_GET["id"];
34  $head[$h][1] = $langs->trans("Fiche");  $head[$h][1] = $langs->trans("Card");
35  $h++;        $h++;      
36    
37    if ($conf->use_preview_tabs)
38    {
39        $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/bon.php?id='.$_GET["id"];
40        $head[$h][1] = $langs->trans("Preview");
41        $h++;  
42    }
43    
44  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/lignes.php?id='.$_GET["id"];  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/lignes.php?id='.$_GET["id"];
45  $head[$h][1] = $langs->trans("Lignes");  $head[$h][1] = $langs->trans("Lines");
46  $h++;    $h++;  
47    
48  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/factures.php?id='.$_GET["id"];  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/factures.php?id='.$_GET["id"];
49  $head[$h][1] = $langs->trans("Factures");  $head[$h][1] = $langs->trans("Bills");
50  $h++;    $h++;  
51    
52  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche-rejet.php?id='.$_GET["id"];  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche-rejet.php?id='.$_GET["id"];
53  $head[$h][1] = $langs->trans("Rejets");  $head[$h][1] = $langs->trans("Rejects");
54  $hselected = $h;  $hselected = $h;
55  $h++;    $h++;  
56    
   
57  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche-stat.php?id='.$_GET["id"];  $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche-stat.php?id='.$_GET["id"];
58  $head[$h][1] = $langs->trans("Statistiques");  $head[$h][1] = $langs->trans("Statistics");
59  $h++;    $h++;  
60    
61  $prev_id = $_GET["id"];  $prev_id = $_GET["id"];
# Line 149  else Line 152  else
152    
153  $db->close();  $db->close();
154    
155  llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>");  llxFooter('$Date$ - $Revision$');
156  ?>  ?>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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