1 |
<?php |
<?php |
2 |
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
3 |
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> |
* Copyright (C) 2004-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 |
*/ |
*/ |
22 |
|
|
23 |
/*! \file htdocs/compta/paiement/info.php |
/** |
24 |
|
\file htdocs/fourn/paiement/info.php |
25 |
\ingroup facture |
\ingroup facture |
26 |
\brief Onglet info d'un paiement |
\brief Onglet info d'un paiement fournisseur |
27 |
\version $Revision$ |
\version $Revision$ |
28 |
*/ |
*/ |
29 |
|
|
34 |
$langs->load("companies"); |
$langs->load("companies"); |
35 |
|
|
36 |
llxHeader(); |
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 |
|
|
|
print '<div class="tabs">'; |
|
|
print '<a class="tab" href="fiche.php?id='.$_GET["id"].'">'.$langs->trans("Payment").'</a>'; |
|
|
print '<a class="tab" href="info.php?id='.$_GET["id"].'" id="active">'.$langs->trans("Info").'</a>'; |
|
|
print '</div>'; |
|
|
print '<div class="tabBar">'; |
|
50 |
|
|
51 |
/* |
/* |
52 |
* Visualisation de la fiche |
* Visualisation de la fiche |
61 |
dolibarr_print_object_info($paiement); |
dolibarr_print_object_info($paiement); |
62 |
print '</td></tr></table>'; |
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(); |
$db->close(); |
71 |
|
|
72 |
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); |
llxFooter('$Date$ - $Revision$'); |
73 |
?> |
?> |