diff --git a/htdocs/compta/paiement/fiche.php b/htdocs/compta/paiement/fiche.php index a1fa7316f95..165088326d8 100644 --- a/htdocs/compta/paiement/fiche.php +++ b/htdocs/compta/paiement/fiche.php @@ -1,5 +1,6 @@ + * Copyright (C) 2004 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 @@ -46,7 +47,6 @@ print 'Info'; print ''; print '
'; - /* * Visualisation de la fiche * @@ -62,6 +62,7 @@ $html = new Form($db); */ if ($_GET["action"] == 'delete') { + print '
'; $html->form_confirm("$PHP_SELF?id=$paiement->id","Supprimer le paiement","Etes-vous sūr de vouloir supprimer ce paiement ?","confirm_delete"); } @@ -143,7 +144,9 @@ if ($db->query($sql)) // L'edition est pour l'instant inutile //print 'Editer'; - print 'Supprimer'; + if ($_GET["action"] != 'delete') { + print 'Supprimer'; + } print "
"; }