Look: Modif esthétiques mineures
This commit is contained in:
parent
b1c26e984e
commit
2744a39d84
@ -39,22 +39,25 @@ $langs->load("companies");
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
* Visualisation de la fiche
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
llxHeader();
|
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 '<div class="tabs">';
|
|
||||||
print '<a href="fiche.php?id='.$_GET["id"].'" id="active" class="tab">'.$langs->trans("Payment").'</a>';
|
|
||||||
print '<a class="tab" href="info.php?id='.$_GET["id"].'">'.$langs->trans("Info").'</a>';
|
|
||||||
print '</div>';
|
|
||||||
|
|
||||||
print '<div class="tabBar">';
|
|
||||||
/*
|
|
||||||
* Visualisation de la fiche
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$facture = new FactureFournisseur($db);
|
$facture = new FactureFournisseur($db);
|
||||||
$paiement = new PaiementFourn($db);
|
$paiement = new PaiementFourn($db);
|
||||||
|
|
||||||
@ -70,7 +73,6 @@ if ($paiement->fetch($_GET["id"], $user) == 0)
|
|||||||
*/
|
*/
|
||||||
if ($_GET["action"] == 'delete')
|
if ($_GET["action"] == 'delete')
|
||||||
{
|
{
|
||||||
print '<br>';
|
|
||||||
$html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sûr de vouloir supprimer ce paiement ?","confirm_delete");
|
$html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sûr de vouloir supprimer ce paiement ?","confirm_delete");
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
@ -78,14 +80,11 @@ if ($paiement->fetch($_GET["id"], $user) == 0)
|
|||||||
|
|
||||||
if ($_GET["action"] == 'valide')
|
if ($_GET["action"] == 'valide')
|
||||||
{
|
{
|
||||||
print '<br>';
|
|
||||||
$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");
|
$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 '<br>';
|
print '<br>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<br>';
|
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
print '<tr><td valign="top">';
|
print '<tr><td valign="top">';
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,12 +18,12 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \file htdocs/compta/paiement/info.php
|
/**
|
||||||
|
\file htdocs/fourn/paiement/info.php
|
||||||
\ingroup facture
|
\ingroup facture
|
||||||
\brief Onglet info d'un paiement
|
\brief Onglet info d'un paiement fournisseur
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -34,12 +34,19 @@ $langs->load("bills");
|
|||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
|
|
||||||
llxHeader();
|
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 '<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">';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Visualisation de la fiche
|
* Visualisation de la fiche
|
||||||
@ -54,7 +61,13 @@ print '<table width="100%"><tr><td>';
|
|||||||
dolibarr_print_object_info($paiement);
|
dolibarr_print_object_info($paiement);
|
||||||
print '</td></tr></table>';
|
print '</td></tr></table>';
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
|
// Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
|
||||||
|
print '<div class="tabsAction">';
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user