From 2744a39d84178b0c0f57eb613822e5ec03828bdb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 17 Oct 2005 17:07:30 +0000 Subject: [PATCH] =?UTF-8?q?Look:=20Modif=20esth=E9tiques=20mineures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/paiement/fiche.php | 27 ++++++++++++------------- htdocs/fourn/paiement/info.php | 35 ++++++++++++++++++++++----------- 2 files changed, 37 insertions(+), 25 deletions(-) diff --git a/htdocs/fourn/paiement/fiche.php b/htdocs/fourn/paiement/fiche.php index dea20a27781..bf5f975c11c 100644 --- a/htdocs/fourn/paiement/fiche.php +++ b/htdocs/fourn/paiement/fiche.php @@ -39,22 +39,25 @@ $langs->load("companies"); /* - * + * Visualisation de la fiche * */ llxHeader(); +$h=0; + +$head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/fiche.php?id='.$_GET["id"]; +$head[$h][1] = $langs->trans("Card"); +$hselected = $h; +$h++; + +$head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/info.php?id='.$_GET["id"]; +$head[$h][1] = $langs->trans("Info"); +$h++; + +dolibarr_fiche_head($head, $hselected, $langs->trans("Payment").": ".$_GET["id"]); -print '
'; -print ''.$langs->trans("Payment").''; -print ''.$langs->trans("Info").''; -print '
'; -print '
'; -/* - * Visualisation de la fiche - * - */ $facture = new FactureFournisseur($db); $paiement = new PaiementFourn($db); @@ -70,7 +73,6 @@ if ($paiement->fetch($_GET["id"], $user) == 0) */ if ($_GET["action"] == 'delete') { - print '
'; $html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sûr de vouloir supprimer ce paiement ?","confirm_delete"); print '
'; @@ -78,14 +80,11 @@ if ($paiement->fetch($_GET["id"], $user) == 0) if ($_GET["action"] == 'valide') { - print '
'; $html->form_confirm("fiche.php?id=$paiement->id","Valider le paiement","Etes-vous sûr de vouloir valider ce paiment, auncune modification n'est possible une fois le paiement validé ?","confirm_valide"); print '
'; } - print '
'; - print ''; print '
'; diff --git a/htdocs/fourn/paiement/info.php b/htdocs/fourn/paiement/info.php index 0d20658f07e..0845f2a8feb 100644 --- a/htdocs/fourn/paiement/info.php +++ b/htdocs/fourn/paiement/info.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur +/* Copyright (C) 2004 Rodolphe Quiedeville + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,12 +18,12 @@ * * $Id$ * $Source$ - * */ -/*! \file htdocs/compta/paiement/info.php +/** + \file htdocs/fourn/paiement/info.php \ingroup facture - \brief Onglet info d'un paiement + \brief Onglet info d'un paiement fournisseur \version $Revision$ */ @@ -34,12 +34,19 @@ $langs->load("bills"); $langs->load("companies"); llxHeader(); +$h=0; + +$head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/fiche.php?id='.$_GET["id"]; +$head[$h][1] = $langs->trans("Card"); +$h++; + +$head[$h][0] = DOL_URL_ROOT.'/fourn/paiement/info.php?id='.$_GET["id"]; +$head[$h][1] = $langs->trans("Info"); +$hselected = $h; +$h++; + +dolibarr_fiche_head($head, $hselected, $langs->trans("Payment").": ".$_GET["id"]); -print ''; -print '
'; /* * Visualisation de la fiche @@ -54,7 +61,13 @@ print '
'; dolibarr_print_object_info($paiement); print '
'; +print '
'; + +// Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent +print '
'; +print '
'; + $db->close(); -llxFooter("Dernière modification $Date$ révision $Revision$"); +llxFooter('$Date$ - $Revision$'); ?>