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 |
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"]; |
152 |
|
|
153 |
$db->close(); |
$db->close(); |
154 |
|
|
155 |
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); |
llxFooter('$Date$ - $Revision$'); |
156 |
?> |
?> |